~/talk

Now THAT'S What I Call Service Worker!

Talkat NDC Porto 2022 · 2022-04-25..04-29· [web-platform, web-performance]
slides:none on file

Shows how to use Workbox streams plus the Cache Storage and Streams APIs to precache header/footer markup and stream it with a network-first content partial, using navigation preload and a custom x-content-mode header for server routing. Lab results: 90th-percentile FCP drops from ~2.7s to 584ms (~80%); LCP from ~2.8s to ~2.0s (28%); TTFB from 1.85s to ~187ms (~90% reduction). Implementation is ~75 lines of service worker code (~20KB bundle) and requires title/updating and slow-connection loading UI handling.

AI-written summary · about

  1. 0:00Start
  2. 2:27A quick service worker primer.
  3. 4:36A tale of two navigation patterns.
  4. 40:04Spinners gonna spin.
~/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.