~/lightning

Lightning talk: Service Workers, use them

Lightningat Nordic.js 2017 · 2017-09-07..09-08· [pwa, web-platform]
github:hontas
slides:none on file

Claims that service workers noticeably improve load and offline behavior and demonstrates a working offline demo. Shows concrete code: registers via navigator.serviceWorker.register, caches assets in install with cache.addAll and uses respondWith to return cached responses or fall back to network. Uses event.waitUntil, self.skipWaiting and clients.claim to activate immediately and purge old caches. Notes requirement HTTPS or localhost, no private browsing, and cites Can I use browser support numbers.

AI-written summary · about

~/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.