Skip to content
Free tool · Web & network

Cache & CDN Header Checker

Enter any URL to see how browsers and CDNs cache it. The checker requests it twice, explains every Cache-Control directive, calculates the lifetime in the browser and at the edge, detects the CDN and its HIT or MISS, and flags settings that cost speed or serve outdated content.

Checked from our server — only what you enter is sentNo sign-up · no tracking of your input
Try:

How to use the Cache & CDN Header Checker

  1. 1

    Enter a URL

    Use a page, a stylesheet, a script, an image or an API endpoint — caching rules differ by type, and the advice adapts to it.

  2. 2

    Compare both requests

    The first request may warm the CDN cache; the second shows whether it now answers from the edge (HIT), plus the Age of the copy.

  3. 3

    Fix what is flagged

    Each finding names the header to change, such as a one-year lifetime with immutable for fingerprinted files or no-cache with an ETag for HTML.

FAQ

Cache & CDN Header Checker: frequently asked questions

What is the difference between no-cache and no-store?

no-store forbids storing the response at all. no-cache allows storing it but requires the cache to ask the server before every use; with an ETag that check is a cheap 304 Not Modified. For HTML, no-cache plus an ETag is often the right choice.

What do HIT and MISS mean?

A HIT means the CDN answered from its own copy near the visitor, without asking your server. A MISS means it had to fetch the response from the origin first. A high hit ratio makes a site fast and reduces load on the origin.

How long should static files be cached?

Files whose name contains a content hash (for example app.3f9a2c.js) can be cached for a year with Cache-Control: public, max-age=31536000, immutable. When the file changes, its name changes, so visitors never see an old version.

What is s-maxage and CDN-Cache-Control?

s-maxage sets the lifetime for shared caches such as CDNs and proxies and overrides max-age there. CDN-Cache-Control (RFC 9213) does the same but only for CDNs, so browsers and CDNs can get completely different rules.

What data is sent and stored?

Only the URL you enter. Our server requests it twice and reads only the response headers — the body is never downloaded, no cookies are sent and nothing is stored. Private and local addresses are blocked.