Stale index.html cached on Cloudflare — blank page for ~90 minutes
Cloudflare's edge cache held an older index.html that referenced JS chunks Vite no longer ships. New visitors saw a blank page until they hard-refreshed. Logged-in users with cached chunks were unaffected.
Customer impact
- •New marketing-site visitors saw a blank page for ~90 minutes
- •Existing logged-in users in the app: unaffected
- •Document signing: unaffected (separate route, separate cache rule)
Root cause + fix
- •Root cause: index.html lacked Cache-Control headers, so Cloudflare defaulted to caching it like a static asset
- •Fix: added serve.json mapping /index.html to no-cache, no-store, must-revalidate; /assets/** to immutable 1-year cache
- •Purged Cloudflare cache for affected URLs
- •Added a runbook entry for cache-purge as part of every chunk-hash-changing deploy