Cache Header Analyzer: Free Online Cache-Control Header Checker — How-To Guide
If a website feels slower than it should, or users keep seeing stale content after a deploy, the cause is often in the HTTP cache headers. The Cache Header Analyzer is a free online tool that inspects Cache-Control, ETag, and Vary headers and explains what they mean for browser and CDN caching — right in your browser, with nothing to install.
Try it free: Cache Header Analyzer
What the Tool Does
Paste real HTTP response headers into the tool and it runs parser and standards-based checks against them. It analyzes:
-
Cache-Control— directives likemax-age,no-cache,no-store,must-revalidate, andpublic/private, which decide whether browsers and CDNs can store a response and for how long. -
ETag— the validation token browsers send back on revalidation requests, so you can check whether your conditional-request strategy actually works. -
Vary— which request headers (likeAccept-EncodingorAccept-Language) produce separate cached variants, and whether the variant count could hurt cache hit rates.
After running the checks, you review clear findings and can copy the output or download a text report for debugging notes, code review prep, or QA handoffs.
Step-by-Step: How to Use It
-
Collect your headers. Open your browser's DevTools, reload the page, and copy the raw
Cache-Control,ETag, andVaryresponse headers. Or pull them withcurl -I https://your-site.com/pageand copy the header lines. - Open the tool. Go to the Cache Header Analyzer page.
- Paste the headers. Drop the raw header text into the input box.
-
Run the checks. Trigger the parser and standards-based validation. The tool parses each header and flags issues — conflicting directives, missing revalidation signals, or
Varyvalues that could fragment your cache. -
Review the findings. Read through each finding. Common red flags include
max-age=0combined with missingETag(no cheap revalidation path), orVary: *(which effectively disables shared caching). - Copy or download the output. Export a text report to attach to a ticket or share with your team, then use Reset to clear the input before analyzing the next response.
Practical Tips
- Compare before and after a fix. Analyze the headers from the broken response, fix your server config, then analyze again. The side-by-side findings make it easy to confirm the change worked.
-
Check assets vs. HTML separately. A good caching strategy looks different per resource type: long
max-agewith versioned filenames for static assets, and short orno-cachelifetimes for HTML. Run both through the analyzer to verify each does what you intend. -
Watch your
Varygrowth. Every value inVarymultiplies cache entries. If the analyzer shows a longVarylist on a high-traffic page, that's a strong hint to trim it down and improve CDN hit rates.
Frequently Asked Questions
Does the Cache Header Analyzer upload my headers?
No. The normal workflow runs locally in your browser — your input never leaves your device.
Is this a replacement for my CI or production scanner?
No. It is designed for fast local inspection before you run project-specific checks. For regulated production changes, always verify final results with your project's own compiler, CI checks, or infrastructure scanner.
Can I save the results?
Yes. Run the tool, then copy the output or download a text report — handy for debugging notes, QA handoffs, and documentation examples.
Do I need an account to use it?
No account is required. Just open the page, paste headers, and run the checks.
Privacy Note
The Cache Header Analyzer runs 100% in your browser. Your pasted headers and all analysis happen locally on your device — nothing is uploaded to a server.
Top comments (0)