Next.js ISR Revalidation Stuck Serving Stale Pages
An ISR page keeps serving cached HTML for hours past its revalidate window — almost always a CDN cache shadowing, build-output drift, or on-demand path mismatch.
Articles tagged with #cache
An ISR page keeps serving cached HTML for hours past its revalidate window — almost always a CDN cache shadowing, build-output drift, or on-demand path mismatch.
Users see the old site after you deploy because a service worker is caching the previous bundle and never picks up the new one — fix with skipWaiting, clean cache scope, and a kill switch.
The headers block in firebase.json controls cache TTL, security policy, and CORS. Here is the minimum config that ships fast and safe — and the patterns that cost you.