Offline-enabled Web Apps
summary
Covers concrete APIs and patterns: use navigator.serviceWorker.register and listen for install/activate/fetch to cache or race cache+network, call self.skipWaiting to force activation, use background sync (register by tag) to retry short tasks, use periodic background sync with a minimum interval to refresh caches, and use background fetch persists across restarts to hand long downloads to the OS (service worker run time is minutes). Recommends using navigator.connection, Save-Data header and Chrome DevTools service worker panel.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:36Mean by Offline Enabled Websites
- 6:15Service Worker Lifestyle
- 11:58Background Sink
- 14:21Background Fetch
- 17:00Web Push
- 18:01Periodic Background Sync
- 20:42Navigator Connection Effective Type
- 22:21Debugging Testing Tools from Serviceworker Internals
- 23:58Github Pages








