~/talk

Making Offline Suck Less with Service Workers

Talkat MountainWest JavaScript 2015 · 2015-03-27..04-01· [web-platform, pwa]
slides:none on file

Service workers plus the Cache API let a site intercept and hijack requests over HTTPS, run as an independent thread with install/activate/fetch/terminate states, and require cloning requests before storing responses. Demo uses GitHub Pages and a tiny service-composer library to prefetch and manage resources and shows cache.addAll semantics in the install/activate handlers. Browser support: Chrome 40+ enabled, Firefox behind a flag, Safari absent. The demo caches 649 images totaling 800 MB and continues to work offline.

AI-written summary · about

  1. 0:00Offline web apps intro
  2. 1:07Offline experience importance
  3. 2:12Service workers explained
  4. 6:43Service worker lifecycle
  5. 9:48Registering and debugging
  6. 13:38Cache management
  7. 17:10Fetch event demo
  8. 19:36Pushing SW limits with APOD
  9. 23:28Caching library with SW
  10. 25:59Future of service workers
  11. 26:53Q&A
~/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.