Service Worker: Taking the Best From the Past Experience for The Bright Future of PWAs
summary
Summarizes concrete service worker practices: register it late (after render) to avoid competing for network/CPU, handle update/unregister by using skipWaiting and refresh windows, avoid cache.addAll failing on 404s, handle cross‑origin opaque responses with no‑cors opaque handling and manual caching, check disk before caching with Storage Estimate API, use Workbox or PWABuilder to automate edge cases, use BroadcastChannel to notify clients of new versions, and preventDefault the install prompt to show it at a controlled moment.
AI-written summary · about
chapters (12)
- 0:00PWAs in 2018
- 4:22Service Worker basics
- 10:12Registration and lifecycle
- 15:45When to register
- 19:26Unregistering and updates
- 23:38Caching strategies
- 29:48PWA tooling
- 34:51Auditing PWAs
- 35:33Handling updates
- 38:29Installing PWAs
- 40:45Beyond networking
- 41:49Community resources
related talks
35mTame your service worker [...]
22mService Workers and Their Role in PWAs
01h 01mService Workers: Using Hard-Won Experience and Looking Ahead
44mPWA - Welcome to the Future
01h 00mService Worker: Bringing Native App Experience to Web Apps
36mService Workers and their role in PWAs
29mPWA, Hidden Stories about future of the Web - II
51mAMP, PWAs, HTTP/2 and Service Workers: A New Era of Web Performance?
