~/talk

And Now You Understand Service Workers

Talkat FrontKon 2025 · on Wednesday, 2025-10-01· [web-platform, pwa]
slides:none on file

Builds a real, deployable Service Worker step‑by‑step, shows the exact code to register it and intercept fetch, and implements cache-first network-fallback, network-first cache-fallback and stale-while-revalidate strategies with versioned caches and pre‑caching. Claims a 6× page‑load speedup (5s → 750ms) by caching images, reports 0 MB network after cache hits, and covers Playwright tests, a rollback kill switch, and MSW integration so the example is production‑ready and automatable.

AI-written summary · about

  1. 0:00Service workers intro
  2. 2:48Production-ready worker
  3. 7:03Cache-first fallback
  4. 9:09Static assets caching
  5. 10:31Offline support
  6. 11:56Cache invalidation
  7. 13:38Stale-while-revalidate
  8. 14:20Worker fears and fixes
  9. 17:28Kill switch deployment
  10. 19:33Testing worker reliability
  11. 20:15Resources
  12. 22:00Closing
~/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.