mirror of
https://github.com/screentinker/screentinker.git
synced 2026-05-15 07:32:23 -06:00
The SW was causing "unexpected error" on video/image fetches due to range request handling, opaque response caching, and stale SW races. Fix: SW now ONLY caches player page + socket.io JS for offline boot. Content files are left to browser native HTTP cache (server already sets Cache-Control: public, max-age=2592000, immutable). Also: auto-reload player when new SW activates so deploys take effect immediately without manual hard refresh. Bumped cache to v5 — activate purges all old caches (including the broken rd-content-v1 content cache). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| index.html | ||
| sw.js | ||