← All notes

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

Sources

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

Permanent ID: iil:note:9rt88nfz

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.},
}

Markdown

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.