Website Guide

Website

CDN Cache: Diagnose Stale Pages and Purge the Right Layer

Diagnose stale pages across browser, CDN and origin caches. Inspect responses, purge affected URLs and verify fresh content without changing private-page access.

Topic: WebsiteBy SearchGlint Editorial Team5 min read
On this page

When a published page looks stale, identify which layer is returning the old response before purging anything. Compare the exact public URL, a known content change and the response headers. Fix or refresh the layer that still has the old version, then verify the same visitor path again.

Make “old content” a specific observation

Choose something you can identify unambiguously: a corrected heading, a changed image filename or a paragraph added in the latest revision. Record the full URL, including the query string, and whether you were signed in. “The page looks wrong” is difficult to reproduce; “the anonymous product page still displays the previous delivery sentence” gives you a test.

Check the saved CMS content first. A cached page cannot deliver an edit that was never published. Also inspect the final destination after redirects. If the old URL now points somewhere else, you need to investigate the response readers actually receive.

Draw the delivery path for this resource

A visitor may receive content through several layers: browser storage, a service worker, a CDN, a host’s page cache, a WordPress cache plugin and the application itself. Images and HTML can use different hosts and policies. A button labeled “clear cache” usually clears only one part of that path.

Observation Layer to investigate first Useful next check
Only one browser shows the old version Browser cache or service worker Compare a clean browser session and its network response
Anonymous visitors differ from editors Page-cache rules or cookie-dependent output Compare the same URL with a documented session state
HTML is current but an image is old Asset URL, image cache or responsive candidate Inspect the exact selected image URL
A CDN miss still returns old text Upstream cache or application output Check what the origin is actually serving
One locale or device differs Cache key and content variants Compare the variant inputs and intended output

Use this table to choose a test, not to declare the cause from a single symptom. For example, a different locale may legitimately have different content.

Read headers without inventing missing evidence

Public GET response inspection for three SearchGlint pages, showing absent cache headers and HTTP 200 responses.
Source: SearchGlint public response inspection, 16 November 2026.

We fetched three public SearchGlint articles for this guide. Each returned 200, but the captured responses did not include Cache-Control, Age or CF-Cache-Status. That result does not prove there is no caching anywhere. It means those headers did not identify the cache behavior of those responses.

For a site using Cloudflare, its cache-response reference explains the provider-specific values. HIT indicates that Cloudflare found the resource in cache. MISS indicates a cache-eligible response was not present there at request time. Neither value proves that the content is the version you intended to publish.

Compare headers with the actual response body. Save the exact URL, status, relevant headers and the visible version marker. Missing values should remain “not present” in the record rather than being converted into a cache hit or a zero-second age.

A GET request is useful because it gives you the body as well as the headers. If you use command-line tools, avoid including authentication tokens or private cookies in a screenshot or shared report.

Check the origin before refilling the edge cache

If the application or host cache still serves the old page, purging the CDN can refill it with that same old page. Use your hosting platform’s documented origin-inspection method to verify the saved change upstream. Preserve the intended hostname and HTTPS behavior; a request to a bare server address may reach a different site.

Refresh the responsible application or host cache if needed, then confirm the new content there. After that, clear the relevant edge resource. Avoid treating a global purge as a substitute for locating an unpublished revision, an incorrect template or a stale upstream object.

For WordPress, separate this freshness problem from a slow response. The WordPress speed guide covers performance diagnosis. A page can be fast and stale, or fresh and slow.

Purge the resource and variants you actually changed

Cloudflare’s single-file purge documentation describes a URL-based purge through the dashboard. It also explains that a cached redirect and its destination are separate resources, and that custom cache keys can require additional values or another supported purge method.

For an ordinary public page, record the canonical URL and any genuinely affected assets. If an image’s content changed without its URL changing, include that asset in the investigation. If the HTML points to a new versioned filename, confirm the page now references it and the file exists.

Do not add arbitrary query parameters and assume you have bypassed every cache. A configuration may ignore them, include them in a key or serve different application behavior. The question is whether the ordinary visitor URL now returns the intended version.

Use the redirect-chain guide when an old URL is part of the problem. Purging a redirect does not update the content at its destination.

Verify freshness and the boundaries of caching

After the targeted change, request the same public URL again and check the version marker, status, final destination and key page information. Compare a representative mobile view if images or layout changed. Repeat for any locale or variant affected by the rule.

Also check that private or personalized pages have not become shared-cache objects. A rule intended to improve public article delivery should not make account information visible to another session. Keep existing authentication and privacy boundaries intact while fixing freshness.

For SEO and GEO, inspect the visible answer, title, canonical and structured data together. A new paragraph paired with an old headline or product value can leave conflicting facts available to readers and automated systems. The structured-data testing guide provides a consistency check.

Finally, separate the public response from external search copies. A correct live page does not immediately replace a search snippet or an AI answer previously generated from older information. Save the corrected response and deployment time, then evaluate later discovery separately. A CDN purge is a delivery action, not a command to refresh every search system.

Sources

Written by SearchGlint Editorial Team

How we research and review our guides