~/talk

Building Faster, More Resilient Apps with Service Worker: A Caching Strategy Deep Dive

Talkat Chrome Dev Summit 2018 · on Monday, 2018-11-12· [pwa, web-platform, web-performance]
slides:none on file

Measures show Service Worker startup costs matter: 20–100 ms startup on desktop, 100–500 ms typical on mobile with 95th percentile >1 s, and cache reads can block. Demonstrations cover Navigation Preload to parallelize network + worker, streaming partial HTML to combine cached header/footer with fresh content, and Workbox features: pre‑caching, runtime caching, Cache Expiration, and Storage Manager estimate. Concrete strategies include stale-while-revalidate and cache-first vs network-first with instrumentation via the performance timeline.

AI-written summary · about

  1. 0:00Start
  2. 1:48The Costs & Benefits
  3. 8:49Service Worker Design
  4. 10:02Serving strategy
  5. 12:223 Ways to Speed Up Navigations
  6. 18:56Caching strategy
  7. 21:05Precaching on install
  8. 21:55Runtime caching
  9. 23:46Avoid quota overflow
  10. 27:13Respect the User's Resources
  11. 29:08Key Points
~/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.