If returning visitors see old marketing content while a normal HTTP request is current, inspect the browser’s service worker before purging the server again. A worker can intercept requests in its scope and supply a cached response. The network endpoint and the controlled browser may therefore show different approved revisions.
Build a controlled comparison among a clean browser profile, a profile with the installed worker, the direct server response and the relevant Cache Storage entry. Record the worker version and lifecycle state. A single hard refresh is not enough evidence to explain the discrepancy.
The edge/origin worksheet traces server delivery. This procedure adds the client interception layer that can remain after the server and CDN agree.
Identify the actual interception path
MDN’s service worker guide describes fetch handling, custom responses and cached resources. Inspect the registered worker’s scope, active script and fetch strategy. Do not assume the site has a worker simply because it behaves like an application.
Use the browser’s developer tools to identify whether the document came through a worker and which cached object was returned. Capture the request URL, page revision and worker state. A cache named current is a label, not proof of the latest approved content.
Keep HTTP cache, Cache Storage and application state distinct. Clearing one does not necessarily clear the others. Record what each diagnostic action changes so a successful refresh does not erase the evidence of the original failure.
Use a state matrix that preserves the old client
Create four rows: direct HTTP without browser interception, clean browser without an existing registration, returning controlled browser and returning browser after the approved update. Use the same public URL and release. Preserve normal relevant preferences without copying private session tokens into the ticket.
For each row, record active worker, waiting worker, document source, returned content revision and next-step behavior. If a developer-tool bypass changes the outcome, label it as a diagnostic bypass in that test environment. It does not prove ordinary visitors received the fix.
Do not unregister workers across real users as the first solution. A site may rely on offline files or stored work. Establish the affected public route family and involve the application owner before changing lifecycle behavior or cache cleanup.
Work through a fictional stale plan explanation
Imagine a fictional product site whose approved revision B adds a limitation to a plan explanation. A direct request returns B, and a clean browser also receives B. An older controlled browser receives revision A from a cache-first worker. The old text lacks the limitation.
The comparison supports a client-cache diagnosis for that tested state. It does not establish how many visitors are affected or whether search systems saw A. Preserve the worker version and cached document before changing either.
A new worker is installed but waiting. MDN describes how an existing active version can keep controlling its clients while the replacement waits. The presence of the new script on the server therefore does not mean the returning page is already controlled by it.
The owner chooses an update and cache strategy that fits the application. The acceptance test requires the normal returning-client path to reach B under that strategy, while approved offline behavior remains intact. A developer manually clearing storage is useful for diagnosis but does not satisfy that acceptance condition.
Choose the smallest content strategy change
A public marketing document may warrant a different fetch strategy from an offline application shell. Decide how stale content is allowed to become and what should happen when the network fails. Do not implement a universal network-first or cache-first rule without that product decision.
Give cached revisions explicit ownership and cleanup rules. Avoid deleting caches still required by an active client. MDN discusses activation and old-cache cleanup, but the timing must fit the actual lifecycle and application dependencies.
Treat skipWaiting and immediate takeover as deliberate engineering choices. Forcing a new worker into an old page can create a mixed-version experience. Verify compatibility instead of adding lifecycle calls merely to make a test refresh appear current.
Use the public variant parity review to compare material promises across the tested states. The problem is more consequential when a stale version changes eligibility or instructions rather than a decorative label.
Keep the cleanup evidence separate
Record which cache names were removed, when and under which worker version. A cache cleanup acknowledgement does not demonstrate that an already controlled tab changed its displayed document. Retest that client explicitly.
Close the client defect separately from search observations
The closure record needs the original controlled state, current server evidence, responsible worker code, approved change and ordinary-client retest. Use the audit handoff to assign the implementation and its reviewer.
Do not infer crawler behavior from the returning browser. A worker-specific client failure and an old search citation can coexist without one proving the cause of the other. Record downstream search observations separately.
Close when the intended client states receive the approved representation under the documented update policy. Keep any unsupported or untested state visible. That is a concrete result even when no traffic or ranking movement has been measured.
