The lunch menu now says $24 when the chef previews it. On a customer's phone it still says $21. Reception has already cleared the WordPress cache twice. Before anyone reaches for “Purge everything”, establish which copy the customer was actually served.

A typical response can be stored in the browser, at a CDN edge, in an origin-side page cache or deeper inside the application. The CMS may also have a draft that the public site has never published. Each layer can successfully deliver the wrong lunch menu. Work from one exact URL and one unmistakable change, then compare the copies.

Keep a sample of the wrong response

Get the customer's exact public address, including path and query string if relevant. Remove any personal tokens before recording it. Ask whether the customer was signed in, which market or currency they selected, which network they used and when they saw the price. A draft preview, the English menu and a separate takeaway menu are three valid URLs that could show different prices intentionally.

Reproduce a signed-out request using the normal link. Open the browser Network panel and inspect the document or API response that contains the value. The price might be present in the original HTML, or it might arrive later from a separate ordering service. Clearing the menu page will do nothing if a separate API supplied the number. Check the visible value against the corresponding network response. Where a browser reports “from disk cache” or supplies a service-worker response, record it.

Capture the HTTP status, Cache-Control, any Age header, CDN cache status if present and the price in the response. Save evidence before a purge changes the situation. Use a second browser or device for comparison, keeping the URL, login and currency consistent. A logged-in administrator often bypasses caches by design, which is precisely why the editor can see a new price while customers cannot.

Read a handful of headers correctly

For Cloudflare, CF-Cache-Status: HIT indicates Cloudflare delivered a stored response for that request. MISS means it didn't have that item available in its cache and fetched it from the origin. The origin itself can serve an old copy. Other statuses describe conditions such as bypass, dynamic content or revalidation. Look up the actual status in the provider's cache response reference. A missing header isn't proof that no cache exists anywhere.

An Age value is measured in seconds and describes the estimated age of the response in HTTP caching. It is not the time since the editor changed the product. A newly cached response can contain a menu generated hours earlier. A large max-age can let browsers keep a public response long after the CDN was purged. In shared-cache policies s-maxage can set a different freshness lifetime from the browser's. no-cache allows storage but requires validation before reuse. no-store tells caches not to store the response. MDN's Cache-Control reference

Here is an illustrative investigation. A customer receives HIT, Age: 480, and $21. The operator's authorised public-equivalent origin preview still returns $21, while the signed-in CMS preview shows $24. Purging the CDN at this moment would make it fetch another $21. First establish that the change is published for the correct menu and market, then inspect the origin's page or application cache. Once the origin actually serves $24, invalidating the saved edge response can give new visitors the right value.

Compare the same representation at each layer

Observation Next step
The public-equivalent origin is old Check publication state, selected market, application data and server-side page cache
Origin is current, a confirmed CDN hit is old Identify the affected cache key and invalidate its stored representation
Clean browser is current, existing visitors see the old stylesheet Inspect browser freshness and the asset URL used by old HTML
HTML is current but an availability or price widget is old Inspect the widget's network request and its own cache policy or provider
A private cart contains another test user's details Contain the shared-cache exposure and escalate to the responsible team

Use an origin comparison the host authorises and that preserves the same hostname and site configuration. A temporary preview URL may bypass cache, use a different database or select a different site's virtual host. Document those limitations. If direct inspection isn't available, ask the host for the response revision generated under the equivalent public conditions. Reducing visibility of a private origin isn't a reason to open it up for a test.

A CDN stores items under a key. Rules may include hostname, path, query string, selected headers, device class or other inputs. A browser viewing /lunch/ and another viewing /lunch/?venue=beach can legitimately get different stored objects. With custom keys, different devices can hit different copies even when the visible URL matches. Ask the operator which inputs define the actual key. Adding a random query parameter can bypass the problem or create another variant. It does not prove the ordinary URL is fixed.

Invalidate the smallest useful set, then test the refill

Once the origin returns the right content, use the provider's supported purge for the affected URL or other deliberately scoped group. Include the exact hostname and scheme it expects. A price change may appear on a product detail page, a category listing, a JSON feed and the homepage's featured item. List the actual surfaces that publish it. One successful product-page check doesn't ensure the category page now agrees.

If Cloudflare uses a custom cache key, check its single-file purge instructions, including how header values enter an authorised purge. A global purge can create a wave of simultaneous origin requests and doesn't replace a clear understanding of the stale content. Where page generation is expensive, coordinate targeted changes with the hosting operator.

Retest immediately using the ordinary customer URL. Save the visible price, cache status and response time. Then test once the relevant cache has populated again. One possible pattern is MISS with $24 followed by HIT with $24. Another is $24 in one city and $21 in another, which calls for a recheck of rules, variants and origin selection. A successful purge operation in a dashboard shows that the command was accepted. Testing the refilled public response shows what customers receive.

Treat long-lived assets differently from prices

Suppose a developer replaces menu.css in place while visitors hold an unexpired browser copy. Purging the CDN won't retrieve bytes already stored on the visitor's phone. Serving a versioned filename such as menu.7b3.css in the newly published HTML gives that file a new identity. Immutable, versioned assets can often use long cache lifetimes because changed content gets a different URL. Keep old assets available while earlier page versions may still reference them.

For frequently changing pages, choose an appropriate freshness period and a reliable publication workflow. Identify which layers the CMS update invalidates. If the chef has to ask three people to clear three different caches every time the menu changes, document the successful sequence and ask the developer to connect invalidation to the publishing event. Test with a second harmless change and two independent browsers before calling the automation complete.

Keep customers' private responses out of shared caches

For an online shop, cart, account, checkout and user-specific prices require deliberate rules. A cached publicly visible catalogue entry and a response containing somebody's address have very different consequences. Test with two synthetic accounts, separate browser sessions and a harmless distinctive test value. Confirm that the second account never receives the first account's information. Include API endpoints that carry private data and watch for personalised HTML fragments mixed into otherwise public pages.

If an actual customer's data appears in another session, stop routine performance testing. Notify the authorised incident owner, prevent the affected route from being served from a shared cache, address stored copies under the provider's process and preserve a minimal private record of what happened. Correct the originating cache directives and CDN rule and verify with synthetic identities before re-enabling normal behaviour. Never ask strangers to send screenshots of other people's details to prove the issue.

The editor might sign off with “The public lunch menu and takeaway listing both show $24 in two signed-out sessions, the edge has refilled with the current revision and the ordering widget returns the same price.” That's stronger than “Cache cleared”, and it gives the next person something useful to check the next time lunch changes.