Automating Service Workers with Workbox 6
summary
Shows how to automate creating and registering a service worker using Workbox 6: use workbox-build to inject a precache manifest, workbox-window for deferred registration, and plugins like broadcastUpdate. Demonstrates cache strategies (stale-while-revalidate and cache-first/runtime), recipe-based presets, and a sample app that builds an offline shell plus runtime-cached articles, with DevTools logs confirming the automated build-and-register workflow works.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 4:39Progressive web apps today
- 9:43Service Worker challenges
- 13:17Workbox as solution
- 16:09Workbox 6 setup
- 23:12Offline app demo
- 27:36Caching strategies in Workbox
- 31:52Flexibility and automation
- 32:55Resources and community
- 34:19Q&A
related talks
51mAutomating a service worker with Workbox 6
17mHow to build a PWA and stay sane: Introduction to Workbox
33mService Workers
46mWriting Service Workers with Workbox
47mSending the Angular app into deep, deep offline with Workbox
38mSending your Angular App into deep, deep offline with Workbox
42mService Worker: Taking the Best From the Past Experience for The Bright Future of PWAs
35mTame your service worker [...]
