|
|
|
|
|
by arghwhat
1777 days ago
|
|
no-cache does not mean content must not be cached - in fact, it specifies the opposite! no-cache means that the response may be stored in any cache, but cached content MUST be revalidated before use. public means that the response may be cached in any cache even if the response was not normally cacheable, while private restricts this to only the user agent's cache. no-store specifies that this response must not be stored in any cache. Note that this does not invalidate previous cached responses from being used. max-age=0 can added to no-store to also invalidate old cached responses should one have accidentally sent a cacheable response for this resource. No other directives have any effect when using no-store. |
|
Edit: And now I see that you just copied bits from the Moz Dev page. I'll have to start using those more. I think the MS docs always come up first in Google.