~/talk

Automating a service worker with Workbox 6

Talkat NDC Oslo 2021 · 2021-11-29..12-03· [pwa, web-performance]
slides:none on file

Workbox 6 automates service worker tasks: workbox-build injects a precache manifest during build, Rollup bundles and terser minifies the SW, and workbox-window manages registration and update hooks. The talk cites 3% of sites use service workers yet they serve one-fifth of web traffic and claims one-third of deployed SWs use Workbox. Example: a blog PWA with precached app shell plus runtime strategies (cache-first for avatars, network-first or stale-while-revalidate for JSON) loads and continues to work offline in the demo.

AI-written summary · about

  1. 0:00Intro
  2. 1:38Maxim Salnikov
  3. 5:31PWA chapter of Web Almanac 2021
  4. 10:05User friendly
  5. 17:46In theory
  6. 19:39In the guide
  7. 24:26Implementing offline-readiness
  8. 26:01Remaining steps
  9. 27:58Build script
  10. 30:50Configuring plugins
  11. 32:37Registering in the app
  12. 39:26Runtime caching
  13. 43:02API responses caching
  14. 45:35Strategies
  15. 46:01Recipes
  16. 47:24Ways to use Workbox
  17. 48:20Web platform today
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.