~/talk

Behind the Scenes of a Sevice Worker

Talkat JSWORLD Conference 2022 Online · 2022-02-09..02-23· [pwa]
slides:none on file

Defines why a PWA needs HTTPS requirement and a manifest and shows a service worker as a JS script that intercepts requests; walks the install → fetch → activate lifecycle, caches specific URLs at install, and wires fetch handlers to serve cached assets, network responses, or an offline fallback page. Demonstrates header-based strategies for pages vs images, gives code snippets for caching and respondWith, and links MDN plus the book Going Offline.

AI-written summary · about

  1. 0:00Intro
  2. 1:10What is aPWA
  3. 1:38What is aPWA technology
  4. 2:35What you need to know about aPWA
  5. 4:08Service Worker
  6. 4:20What is a Service Worker
  7. 5:27Evolution of a Service Worker
  8. 8:38What is a good catching strategy
  9. 9:05Code
  10. 9:49Fetch
  11. 11:51Offline fallback page
  12. 13:31Offline HTML
  13. 14:27Strategies
  14. 15:04Headers
  15. 16:24Pages
  16. 17:32Images
  17. 22:04Recap
~/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.