caches.delete() only clears service-worker managed caches — the browser's own HTTP cache can still serve stale or corrupted chunk responses. Setting Clear-Site-Data tells the browser itself to drop cookies, cached responses, storage, and service worker registrations for the origin, which is what's actually needed to unstick a PWA with a bad cached chunk. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| live-search.js | ||
| server.js | ||