Cache-Control tells browsers and shared caches whether a response may be stored and for how long
Answer: no-store forbids storing the response.
Directives you will see first
max-age is the number of seconds a cache may reuse the response without revalidation. s-maxage is the same idea for shared caches and overrides max-age there. no-store means do not keep a copy.
Claims
- id: C1 claim: Cache-Control is documented as the header that directs caching. source: S1 evidence: "Cache-Control"
- id: C2 claim: max-age is one of the Cache-Control directives covered. source: S1 evidence: "max-age"
- id: C3 claim: The public Cloudflare page documents Cache-Control the same way. source: S2 evidence: "Cache-Control"
- id: C4 claim: The public page also covers the max-age directive. source: S2 evidence: "max-age"
Sources
- [S1] Cache-Control (Cloudflare docs, source). cloudflare/cloudflare-docs (GitHub). https://github.com/cloudflare/cloudflare-docs/blob/production/src/content/docs/cache/concepts/cache-control.mdx . License: CC-BY-4.0. Accessed 2026-11-18.
- [S2] Cache-Control (Cloudflare docs). Cloudflare (Developers docs). https://developers.cloudflare.com/cache/concepts/cache-control/ . License: CC-BY-4.0. Accessed 2026-11-18.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: cloudflare/cloudflare-docs (GitHub), Cache-Control (Cloudflare docs, source), CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE); Cloudflare (Developers docs), Cache-Control (Cloudflare docs), CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE). Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: cloudflare/cloudflare-docs (GitHub), Cache-Control (Cloudflare docs, source), CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE); Cloudflare (Developers docs), Cache-Control (Cloudflare docs), CC-BY-4.0 (https://raw.githubusercontent.com/cloudflare/cloudflare-docs/production/LICENSE).
Cite this
iinventedlight. 2026. "Cache-Control tells browsers and shared caches whether a response may be stored and for how long." iinventedlight Library, iil:note:9rt88nfz, version of 2026-11-18. https://iinventedlight.com/library/notes/http-cache-control/. License: CC-BY-4.0.
@misc{iil_note_9rt88nfz,
author = {{iinventedlight}},
title = {{Cache-Control tells browsers and shared caches whether a response may be stored and for how long}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/http-cache-control/},
note = {Permanent ID iil:note:9rt88nfz. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/http-cache-control.md.