Article content
Changed
- Added service worker registration (
/js/pwa.js) and global wiring in the base layout. - Added a service worker (
/sw.js) with shell caching + offline fallback behavior. - Added dedicated offline fallback page at
/offline/. - Added header install control (
Install app) that appears when browser install prompt is available. - Captured visual artifacts:
/artifacts/phase5/before-offline-fallback-page.jpg/artifacts/phase5/after-offline-fallback-page.jpg
Why
- Establishes the first installable/offline-capable baseline for Snowcrab.
- Improves resilience during transient network loss.
- Completes the roadmap milestone for Phase 5: PWA baseline.