Cache-Control directives
04Directives separately control storage, validation, freshness, transformation, and shared-cache behavior.
This alternative policy provides a 60-second freshness lifetime, subject to other applicable constraints.
Key idea: Read the exact directive rather than guessing from its name.
Rules & examples
Read the exact directive rather than guessing from its name.
- Unqualified no-cache permits storage but requires successful validation before reuse.
- no-store normally prohibits storing the request/response data covered by the directive; max-age bounds freshness.
- must-understand restricts storage to caches that understand the response status’s caching requirements; its specified behavior can override no-store.
no-store is not a complete privacy guarantee: it cannot erase copies already obtained or protect against malicious caches. The qualified no-cache form has field-specific rules; this example uses the unqualified form.
Sources
New to this? Start hereA quick picture + helpful background
A request starts a conversation.
A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
RFC 9111 introduces must-understand. Appendix B also records that the Warning response field is obsolete; the main cache requirements still apply.
Read the updated RFC section ↗