~/talk

How Do Service Workers Even?

Talkat Mobile Era 2018 · 2018-11-01..11-02· [web-platform, developer-experience]
slides:none on file

Service workers run as background JS threads that proxy every fetch to enable offline-first caching, faster loads and push; Google’s Workbox is recommended for precaching and versioned caches. Real failures: a site cached redirected HTML as plain text and stayed broken until caches were cleared; another deploy failed to install because a redirected asset retried until the browser aborted, leaving old static assets live. Key facts: service workers persist across restarts, caches don’t auto-expire, updates can take up to 24 hours unless you use clients.claim or devtools bypasses.

AI-written summary · about

  1. 0:00Intro
  2. 0:32Bad Jokes
  3. 1:02Follow Along Slides
  4. 2:09Performance
  5. 2:35Push Notifications
  6. 3:13What Are Service Workers
  7. 3:34Service Worker Limitations
  8. 3:54On Device Network Proxy
  9. 4:29Service Worker Schematic
  10. 5:07Service Worker Async
  11. 6:13Multiple Service Workers
  12. 6:44Single Service Worker
  13. 6:58Persistent Service Workers
  14. 7:38Service Worker Life Cycle
  15. 8:44Service Worker Registration
  16. 9:59Assault
  17. 11:40Workbox
  18. 12:42Page
  19. 14:38Claiming Control
  20. 15:42Service Worker Lifecycle
  21. 16:27Idle Phase
  22. 17:24Check Cache
  23. 17:54Network fallback
  24. 18:58Caching strategies
  25. 20:14Updating service workers
  26. 22:08Deploying new service workers
  27. 23:21Downloading a new service worker
  28. 24:19Managing your open pages
  29. 24:36Breaking things
  30. 24:59Testing JavaScript
  31. 26:31The Problem
  32. 31:23The Other Option
  33. 35:45The Takeaway
  34. 37:01A Gotcha
  35. 37:21Update Personal Site
  36. 39:42Cache Control headers
  37. 40:26Takeaway
  38. 41:03Halloween
  39. 41:35Bendy Works
  40. 41:53Resources
~/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.