What it does
A cache control checker reads the headers that decide whether a response is stored, for how long, and by whom. It separates browser caching from CDN caching and shows the validators a client can use to revalidate instead of downloading again.
How it works
Cache-Control directives are the main signal. max-age sets freshness in seconds for browsers; s-maxage overrides it for shared caches such as a CDN. no-store forbids storing, no-cache allows storing but requires revalidation, and private restricts storage to the browser.
ETag and Last-Modified are validators. A client that has a copy sends If-None-Match or If-Modified-Since; the server replies 304 without a body if the copy is still good. That saves bandwidth even when the content is not fresh.
Vary tells caches which request headers change the response. A missing Vary on a negotiated response can serve the wrong variant — compressed to a client that cannot decode it, or another language.
Age reports how long a shared cache has held the response. A large Age means the object came from the CDN, not the origin. Comparing Age with max-age shows whether it is still fresh at the edge.
Heuristic caching applies when no explicit freshness is given. Browsers may cache based on Last-Modified, which is unpredictable. For anything sensitive or fast-changing, set explicit directives rather than relying on defaults.
When to use it
- Check why a deploy is not visible because HTML is cached.
- Confirm that hashed assets are cached for a year and HTML is not.
- Verify CDN s-maxage behaviour after a configuration change.
- Find a response that lacks validators and forces full downloads.
Glossary
Frequently asked questions
Why do users see an old page after a deploy?+
HTML is being cached. Use a short max-age or no-cache with revalidation for documents, and long immutable caching only for hashed asset filenames.
What is the difference between no-cache and no-store?+
no-cache allows storing but requires revalidation before reuse. no-store forbids storing entirely. For sensitive data, no-store is the stronger choice.
Do I need both ETag and Last-Modified?+
ETag is more precise. Last-Modified is a useful fallback for clients or proxies that do not handle ETags. Sending both is common.
Why does the CDN ignore my max-age?+
A CDN may use s-maxage, its own configuration, or strip headers. Check the Age and the CDN's cache rules rather than assuming the origin's header wins.
Should HTML ever be immutable?+
No. Immutable is for content-addressed assets whose URL changes with the content. HTML URLs are stable, so immutable caching makes updates invisible.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/cache-control-checker?u=https%3A%2F%2Fexample.com"Shareable result
https://100www.dev/tools/cache-control-checker?u=https%3A%2F%2Fexample.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


