opdeck / cache-inspector

Cache Inspector

HTTP caching is fundamental to website performance and infrastructure cost reduction. Misconfigured Cache-Control headers can force visitors to re-download unchanged assets on every page load — wasting bandwidth, slowing pages, and increasing CDN costs. Conversely, overly aggressive caching can serve stale content to users long after you've deployed a fix, causing broken experiences that are difficult to diagnose.

The Cache Inspector tool fetches any URL and surfaces all cache-related HTTP response headers: Cache-Control, ETag, Last-Modified, Expires, Surrogate-Control, Vary, and CDN-specific headers like CF-Cache-Status and X-Cache. It tells you immediately whether the URL is cacheable, for how long, and whether it was served from cache — giving you the precise data needed to tune your caching strategy. The optional cacheless screenshot captures the page with browser cache disabled, useful for visually verifying cache-busting deployments.