HTTP Cache Header Planner
Plan Cache-Control, ETag and max-age headers for any asset type.
Options
Generated header
Can be cached by browsers and shared caches/CDNs. Considered fresh for 31536000 second(s) in browser caches. Marked immutable — clients won't even revalidate on refresh while fresh.
About the HTTP Cache Header Planner
Choose an asset type and freshness strategy to get the right Cache-Control, ETag and Vary headers, with an explanation of how browsers and CDNs will behave.
Examples
Example
hashed static assetOutput
Cache-Control: public, max-age=31536000, immutableKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Bulk URL Status Checker
Network & IP
Check HTTP status codes and redirects for many URLs at once.
Cookie Attribute Analyzer
Network & IP
Parse Set-Cookie headers and flag security issues.
HTTP Header Comparator
Network & IP
Diff two sets of HTTP headers, case-insensitively.
HTTP Headers Explainer
Network & IP
Look up common HTTP headers and explain pasted raw headers.
HTTP Status Codes
Network & IP
Searchable reference of HTTP status codes with meaning and usage guidance.
HTTP/2 & TLS Version Test
Network & IP
See which TLS versions a site accepts and whether it serves HTTP/2.
Frequently asked questions
Read more
- Understanding CORS errors and how to fix them
Why 'No Access-Control-Allow-Origin header' shows up, what the browser is actually enforcing, and the exact headers that fix each case.
Comments
No login needed. Comments appear after a quick review.
Loading comments…
Version 1.0.0 · Updated 2026-08-09 · Runs entirely in your browser