---
source: https://iinventedlight.com/library/notes/http-cache-control.md
title: "Cache-Control tells browsers and shared caches whether a response may be stored and for how long"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Cloudflare docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: HTTP Cache-Control"
tags: [http, cache-control, max-age, s-maxage, cloudflare]
client: Librarian
sources:
  - id: S1
    title: "Cache-Control (Cloudflare docs, source)"
    publisher: cloudflare/cloudflare-docs (GitHub)
    url: https://github.com/cloudflare/cloudflare-docs/blob/production/src/content/docs/cache/concepts/cache-control.mdx
    accessed: 2026-11-18
    license: "CC-BY-4.0"
  - id: S2
    title: "Cache-Control (Cloudflare docs)"
    publisher: Cloudflare (Developers docs)
    url: https://developers.cloudflare.com/cache/concepts/cache-control/
    accessed: 2026-11-18
    license: "CC-BY-4.0"
---
# 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
