Browse Source
Fix caching issues - always fetch fresh content from server
Fix caching issues - always fetch fresh content from server
Service Worker changes: - Bump version to v1.0.1 to invalidate old caches - Use network-first strategy for all API calls - Use network-first strategy for HTML files - Only use cache-first for static assets (CSS, JS libs, images) Server changes: - Serve service-worker.js with no-cache headers - Serve HTML files with no-cache headers Client changes: - Detect service worker updates and auto-reload page - Check for updates on every page load 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>master
3 changed files with 80 additions and 5 deletions
-
23index.html
-
14server.js
-
48service-worker.js
Write
Preview
Loading…
Cancel
Save
Reference in new issue