If I've interpreted the spec correctly, Cache-Control: no-cache, public
would:
- allow any intermediate cache to hold a copy (public)
- force validation of the response on every request to the intermediate cache, effectively making it not cached (without an ETag but with Expires and Last-Modified)
- put a copy in the browser cache
This is all via HTTPS.
Is this the same as must-revalidate
? Would this have any effect on performance or would it only waste space in the cache and neutralise the benefits of having a cache?
The objective is to cache files that require a login to improve delivery and reduce bandwidth/server requirements. The files don't change but do require an authenticated user.