I'm going cross eyed looking at all the HTTP headers available for controlling the caching of content.
What headers do I need to set I I want content to be cached:
- For at most 24 hours (or any time period I choose)
- With no re-validation
- With no etags
I've realized that browsers are re-requesting my CSS, JS, and images on every page view. I want them to be able to cache these items for some amount of time without checking back in at all with my site.
My server does not support "if modified since" nor "etags". I have implemented a versioning system where the version of the resource is in the file name, so I can cache bust when the files are changed.
Expires: <timestamp 24 hours in the future>
which doesn't appear to make Firefox cache anything at all without wanting to revalidate