Generate precache-manifest.json at build time by scanning dist/ for all cacheable assets. SW fetches the manifest during install and precaches core shell assets (shell.js, shell.css, theme.css, HTML pages) immediately. Module JS/CSS bundles are lazy-cached in the background after activation. Bumps CACHE_VERSION to rspace-v2 to trigger SW update and cache cleanup. The app can now load fully offline even after browser restart with no network. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| admin.html | ||
| canvas.html | ||
| create-space.html | ||
| index.html | ||
| shell.ts | ||
| sw.ts | ||
| test-stack.html | ||