Browse all 103 browser-based tools (103 currently marked free), or tell us what useful utility we should build next.
HTTP caching policy
Parse or build Cache-Control directives and review conflicts. Use the report to inspect a proposed browser or shared-cache policy.
Input is processed locally in this browser
Normalized field value
public, max-age=300, s-maxage=3600, stale-while-revalidate=60public
Boolean directive
max-age
300
s-maxage
3600
stale-while-revalidate
60
An HTTP Cache-Control field governs how private browser caches and shared CDN or proxy caches store, reuse, and revalidate a response. Because directives such as no-cache, no-store, private, public, max-age, and s-maxage interact, contradictory combinations can cause unexpected cache misses or unintended storage. A header value alone does not prove that a CDN stores or serves a response: request directives, Authorization headers, HTTP status codes, Vary fields, validators, and edge configuration all affect real cache behavior.
| Directive | Operational meaning | Common mistake |
|---|---|---|
| no-cache | Store, but validate before reuse. | Describing it as no storage. |
| no-store | Do not store this response. | Combining it with long freshness. |
| s-maxage | Shared-cache freshness override. | Expecting it to control browser cache. |
| immutable | Fresh response will not change. | Applying it to unhashed mutable URLs. |
Directive grammar and core semantics follow RFC 9111 §5.2. The parser keeps extension directives rather than rejecting them, because HTTP caching permits registered or deployment-specific extensions.
A header alone does not prove a response will be cached. Status-code defaults, method, authentication, Set-Cookie, Vary, validators, request directives, framework overrides, and CDN settings still matter. Treat the result as field-level validation, then confirm with a cold request, a warm request, response age, and provider cache diagnostics.
no-cache allows a cache to store a response but requires successful validation before reuse. no-store tells caches not to store the response. Neither directive is a synonym for immediately expired content.
No. s-maxage applies to shared caches such as a CDN and overrides max-age there. A private browser cache still uses max-age or other applicable freshness information.
No. The complete request, response status, authorization, cookies, Vary fields, surrogate configuration, framework behavior, and CDN rules can all change cacheability. Verify the deployed response and cache-status headers.
No. Parsing, normalization, policy generation, and conflict checks run in the browser. Page analytics do not receive the Cache-Control value entered here.
Last updated: September 15, 2026