Skip to content

Cache-Control in practice

Lots of caching puzzles trace back to a single header set by the origin.

Send no-store on anything that must not sit in a cache; the edge honours it too.

A Vary header splits the cache by that request header, so use it sparingly.

Key terms

Origin Your own server that the edge contacts on a miss.
TTL How long a cached copy may be served before it is checked again.

Questions about any of this? Our support answers gladly, and repeated questions end up on this page.

See also