topic
Verified 2026-09-18Cache-Status Parameters
Cache-Status parameters explain how a cache handled a request, including hit status, freshness, stored age, and key selection.
Expose Cache-Status only when its diagnostic detail is safe for the audience. Strip internal hostnames, cache keys, and topology data at trust boundaries.
httpcacheheaderdiagnostics
Reference (http)
Cache-Status: CDN; hit; ttl=300; age=42; fwd=stale
Expose Cache-Status only when its diagnostic detail is safe for the audience. Strip internal hostnames, cache keys, and topology data at trust boundaries.
Common mistakes
- Leaking internal cache keys or assuming Cache-Status changes caching semantics; it is diagnostic metadata, not cache policy.