Website Cache Audit Checklist: How to Find Misses, Stale Content, and Misconfigured Layers
cache auditsperformance testingcache hitsstale cache troubleshootingwebsite caching checklist

Website Cache Audit Checklist: How to Find Misses, Stale Content, and Misconfigured Layers

CCaching.website Editorial Team
2026-12-02
8 min read

Use this repeatable website cache audit to test hits, misses, TTLs, stale content, bypass rules, and regional behavior across every caching layer.

A website cache audit shows whether each caching layer is doing useful work, serving content safely, and behaving consistently for different visitors. This reusable checklist covers browser, CDN, reverse-proxy, page, object, and origin caches, with practical tests for cache hits, misses, stale responses, bypass rules, TTLs, and regional differences.

Overview

Caching is rarely one switch. A typical request may pass through a browser cache, DNS and network path, CDN or edge cache, reverse proxy such as Varnish or an Nginx FastCGI cache, an application page cache, an object cache such as Redis, and finally the web server or application origin. A cache audit examines these layers separately instead of assuming that a fast response proves everything is configured correctly.

The goal is not to maximize caching at any cost. The goal is to cache content that is safe to reuse, avoid caching private or transaction-specific responses, keep invalidation predictable, and reduce unnecessary work at the origin. A useful audit produces evidence that can be compared after a hosting change, deployment, plugin update, cache-policy edit, traffic spike, or infrastructure migration.

Start with a small test plan. Choose one representative public page, one static asset such as a stylesheet or image, one dynamic route, and—if relevant—one ecommerce or logged-in workflow. Record the URL, request method, test location, timestamp, response status, response headers, total time, and any cache status exposed by the platform. Repeat each request at least twice so that you can compare a likely cold request with a warm request.

What to track

1. Browser and HTTP cache behavior

Inspect Cache-Control, ETag, Last-Modified, and, where present, Expires. For versioned static assets, a longer freshness lifetime can be appropriate when the filename or URL changes whenever the file changes. HTML often needs a shorter lifetime or revalidation path because it can contain frequently updated content.

Record whether a repeat request is served directly from the browser, revalidated with the origin, or downloaded again. A browser cache hit may not appear as a server-side cache hit because the request never reaches the server. Use a clean browser profile, disabled-cache development setting, or command-line request when you need to test the network layers rather than the local browser.

2. CDN and edge caching

Look for provider-specific headers such as a cache status, age, request ID, or upstream timing value. Header names differ by CDN, so document the terminology used by your provider rather than relying on one universal header. A response that includes Age or a vendor cache-status value can help distinguish an edge response from an origin response, but the absence of such a header does not by itself prove that the response was uncached.

Test from more than one region when the site serves an international audience. The first request at one edge location may be a miss while another location is already warm. Compare status, age, cache indicator, time to first byte (TTFB), and content version. Keep the test locations and URLs consistent so regional results remain comparable.

3. Reverse-proxy and page-cache layers

Identify whether the web hosting stack uses Nginx FastCGI cache, Varnish, LiteSpeed Cache, a managed WordPress page cache, or another reverse proxy. Record its cache key rules and bypass conditions. Common bypasses include cookies, authorization headers, POST requests, query strings, preview parameters, logged-in sessions, excluded paths, and response headers that mark content as private or non-cacheable.

Test an anonymous request and a request carrying the cookies used by a real session. The same URL may correctly produce different results for these requests. For WordPress, check whether the cache plugin and hosting layer both cache the page, because overlapping controls can make purge behavior and troubleshooting harder. For WooCommerce or another ecommerce application, verify that cart, checkout, account, and other personalized routes are excluded as intended.

4. Object cache and origin health

Page cache and object cache solve different problems. A page cache stores a rendered response; an object cache stores reusable application data such as database query results or settings. Check object-cache hit and miss counts in the application or hosting dashboard, along with memory usage, evictions, connection errors, and latency if those metrics are available.

At the origin, track request volume, TTFB, PHP or application worker utilization, database latency, error rates, and resource saturation. A high page-cache hit rate can conceal an origin that becomes slow whenever a cache is purged. Include a controlled cache purge or cold-path test in maintenance reviews, but perform it carefully and during an approved window.

Evidence table

LayerEvidence to recordUseful check
BrowserCache-Control, ETag, Last-Modified, local reuseCompare a clean request with a repeat request
CDN or edgeCache status, Age, request ID, regionTest warm and cold behavior from two locations
Reverse proxyHit, miss, bypass, cache key, purge resultCompare anonymous, cookie, and query-string requests
Page cacheRendered-page reuse and excluded pathsCheck public, logged-in, preview, and dynamic routes
Object cacheHit rate, evictions, memory, connection errorsReview dashboard metrics during normal traffic
OriginTTFB, workers, database time, errors, loadCompare warm-cache and post-purge requests

Simple command-line tests

Use a header-only request to inspect response metadata:

curl -sS -D - -o /dev/null https://example.com/

Repeat the command and compare the headers. To follow redirects, add -L. To capture total request time for a repeatable URL test, use:

curl -sS -o /dev/null -w "status=%{http_code} ttfb=%{time_starttransfer} total=%{time_total}\n" https://example.com/

These commands do not reveal every internal cache state. Pair them with CDN, hosting, web-server, or application logs. Never treat a single header or one synthetic request as a complete cache-hit ratio measurement.

Cadence and checkpoints

Run a baseline audit when the site is stable, then repeat it on a predictable schedule. A monthly check is suitable for frequently updated sites; a quarterly review may be sufficient for low-change sites. The schedule should become more frequent after a migration, major deployment, cache-plugin change, CDN rule change, DNS cutover, or hosting-plan adjustment.

At each review, use the same URLs, request types, regions, and test conditions. Record:

  • cache status for first and repeat requests;
  • effective TTLs and revalidation behavior;
  • unexpected bypasses caused by cookies, query strings, authorization, or route rules;
  • content freshness after publishing and purging;
  • TTFB and origin response time for warm and cold paths;
  • object-cache errors, evictions, and memory pressure;
  • regional differences in cache state or response time; and
  • errors, redirects, missing assets, and changes to Core Web Vitals that may follow a cache-policy change.

Set alert thresholds based on your own baseline rather than adopting a universal hit-rate target. A lower hit rate may be expected for personalized or frequently changing content, while a high hit rate is not useful if it serves stale prices, private data, or broken assets.

How to interpret changes

A consistent hit on the second request usually indicates that at least one layer is reusing the response, but identify which layer before drawing conclusions. If the browser serves the page locally, the CDN and origin were not tested. If the CDN reports a hit but TTFB remains high, investigate the test method, edge location, connection setup, or additional processing before assuming the cache is ineffective.

Repeated misses usually point to one of five causes: the response is intentionally uncacheable, a bypass condition is present, the cache key varies unexpectedly, the item has expired, or the cache is being purged or evicted. Inspect request cookies, query parameters, authorization headers, response directives, and purge logs in that order. A cache key that includes unnecessary parameters or headers can fragment otherwise identical requests.

Stale content requires a different diagnosis. First establish whether the stale copy is in the browser, CDN, reverse proxy, page cache, object cache, or application data store. Then check the relevant TTL, revalidation headers, purge rule, and deployment process. Publishing new content does not necessarily clear every layer. Safe invalidation should be specific where possible, with a broader purge reserved for cases that require it.

When only one region differs, compare edge status, DNS destination, cache warming, and origin routing. When only users with cookies see slower responses, verify whether those cookies are intentionally forcing a bypass. When all requests slow down after a purge, review origin capacity, database load, PHP workers, and cache warm-up behavior rather than simply increasing TTLs.

When to revisit

Revisit this website cache audit at least monthly or quarterly, depending on how often the site changes. Run an additional review immediately after a CDN migration, DNS change, hosting move, framework or WordPress update, cache-plugin replacement, new personalization feature, ecommerce release, or change to cache headers and purge rules. Also review it after a traffic spike, incident, unexplained increase in TTFB, or report of stale or private content appearing publicly.

Keep the previous evidence table so each review becomes a comparison rather than a fresh guess. Mark every change as intentional, expected, or unexplained. For unexplained results, reproduce the request with a clean client, compare headers, test another region, inspect logs, and trace the request layer by layer. Once the cause is confirmed, update the cache configuration and rerun the same test.

For a practical next step, choose four URLs today: a public HTML page, a static asset, a dynamic route, and a sensitive or personalized route. Run two header checks for each, from the primary audience region and one secondary region. Save the results, record the configured TTL and bypass rules, and schedule the next review. Repeating that small process will reveal cache misses, stale content, and configuration drift before they become difficult performance or reliability problems.

Related Topics

#cache audits#performance testing#cache hits#stale cache troubleshooting#website caching checklist
C

Caching.website Editorial Team

Performance and Hosting Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.