~/talk

Offline first!

Talkat Øredev 2023 · 2023-11-08..11-10· [pwa, web-platform, web-performance]
slides:none on file

Live demo builds a working offline PWA using Service Workers, the Cache API and Fetch API: versioned static cache, dynamic cache with cache.put + response.clone, and an offline.html fallback that actually serves when network fetches fail. Prefetching uses Intersection Observer plus localStorage to avoid repeats and respects save‑data heuristics. Cache cleanup runs on activate and client.postMessage stores dynamic cache name. Measurements show cached loads ~18 ms versus uncached ~35 ms.

AI-written summary · about

  1. 0:00Offline first welcome
  2. 1:04Service workers explained
  3. 7:26Static caching
  4. 13:08Offline pages
  5. 17:04Dynamic caching
  6. 19:33Cache cleanup
  7. 22:01Prefetching strategies
  8. 31:39Local storage tips
  9. 37:46Closing
~/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.