However, there is some things that can be done to improve cacheability:
- Ignore Google Analytics cookies
- Remove empty Cookie line
- Normalize Accept-Encoding header
- Allow replying with a stale response if the backend is slow
Bonus:
- Remove some headers to reduce header size and hide some details about the server (security).
- Add a debug header to help understand why a request is cached or not.
No comments:
Post a Comment