screentinker/server
ScreenTinker d73abc809d Simplify service worker: stop intercepting content requests
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>
2026-04-13 22:24:15 -05:00
..
db Phase 3: playlist publish/draft state with auto-publish from device detail 2026-04-13 20:52:29 -05:00
middleware Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
player Simplify service worker: stop intercepting content requests 2026-04-13 22:24:15 -05:00
routes Fix 8 security findings from Phase 3 audit + device-detail banner refresh 2026-04-13 21:36:16 -05:00
services Phase 2: schedules accept playlist_id, scheduler overrides device playlist 2026-04-11 22:07:36 -05:00
ws Fix broken service worker + device auth rejection on playlist refresh 2026-04-13 22:18:08 -05:00
config.js Initial open source release 2026-04-08 12:14:53 -05:00
package-lock.json Initial open source release 2026-04-08 12:14:53 -05:00
package.json Initial open source release 2026-04-08 12:14:53 -05:00
server.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00