The ServiceWorker is coming, look busy
summary
ServiceWorker becomes a concrete tool: register it, use the Cache API and fetch to precache templates and then serve pages from cache so first render drops by about 1s and image loads that previously took 30+ seconds become near‑instant on repeat visits. Code shows caching 200 KB Flickr images, cache‑then‑network sync for APIs, and live demos where a push notification wakes a closed browser and delivers native notifications; background sync retries failed sends later.
AI-written summary · about
chapters (8)
- 0:00The evolution of the web
- 1:48Web vs native applications
- 3:44Introducing service workers
- 6:07Setting up the environment
- 7:13Offline functionality
- 12:32Network and caching strategies
- 21:42Push notifications demo
- 28:36Background sync and future
related talks
27mAnd Now You Understand Service Workers
30mBuilding Faster, More Resilient Apps with Service Worker: A Caching Strategy Deep Dive
23mGo Offline with Service Workers
30mThe Beauty of Service Workers
42mHow Do Service Workers Even?
35mTame your service worker [...]
30mAt Your Service with Service Workers
45mThe perfect Service Worker. How to design it?
