surfup

Check CDN and browser cache after a release

Find whether stale HTML, an edge cache, or a browser cache is serving the old version.

A purge at the CDN does not clear files already stored in a visitor’s browser. Check the response path before purging broadly or increasing cache TTL.

Compare HTML and versioned assets

  • Request the exact page and asset from a clean browser session. Record status, Age, Cache-Control, ETag/Last-Modified, and the CDN cache-status header if present.
  • Check that HTML revalidates on navigation and that content-hashed JS/CSS uses long-lived caching. Never apply an immutable, year-long policy to a mutable URL.

Purge only the stale layer

  • If the CDN returns old bytes, purge the exact URL or version and recheck from two networks. If only one browser is stale, test a fresh profile before changing edge rules.
  • After the change, verify logged-in and public pages separately. Personalized responses should not enter shared caches; capture headers and keep a rollback of the previous rule.

Example and expected result

  • Run curl -sS -D page.headers -o page.html PAGE_URL for the page; use distinct names such as asset.headers and asset.bin for the hashed asset. Inspect the saved page.html or compare a build identifier with origin. Repeat both GET requests after deployment and compare Age and the CDN status header; check Cache-Control and ETag too. HTML may not be cached by default, so first inspect the site’s actual rules.
  • If only one browser profile is stale, check its service worker and local cache. If the CDN returns an old HIT, purge the exact affected path and repeat in a fresh profile. If origin is old too, fix deployment/origin first. Do not purge unrelated paths.

Primary sources

Latest materials

All materials

Practical articles and guides by SurfUp.

Guide · 10 min

“What is…” pages and AI answers: lost clicks or falling demand

A bank’s reference section lost 24% of visits as demand fell 13%. How to tell clicks lost to an AI block from falling demand and how to measure it.

Read
Guide · 8 min

Traffic dropped after a Google update

How to tell whether a traffic drop comes from a Google update, seasonality or a site fault. 2026 update timeline, a six-question check and a plan for the first 14 days.

Read
Guide · 9 min

Demand fell or the site lost: reconciling traffic with Wordstat

Demand for deposits fell 75%, traffic 37%; for cards demand −35%, traffic −63%. How to reconcile traffic with demand and not blame the site for the market.

Read