Tools
Cache-Control Builder
What will browsers and CDNs do with this Cache-Control header? Toggle directives or paste an existing header, and see the value, the conflicts, and what each kind of cache will actually do.
Start from a preset
Generated header
Cache-Control: public, max-age=3600What each cache will do
Browser (private cache)
- Reuses it without contacting the server for 1 hour.
CDN / shared cache
- Serves it from cache for 1 hour (from max-age).
Paste mode Audit an existing Cache-Control header
Directives
Visibility · Who may store it
Freshness · How long it is fresh
seconds (1 hour)
Revalidation · When to re-check
Stale · Serving old copies
Other · Other
Add it to your server
add_header Cache-Control "public, max-age=3600" always;Learn More About Caching
Read the full Cache-Control header reference for detailed examples and edge cases. See also the Headers & Caching guidefor a complete overview of HTTP caching strategies.