~/talk

Caching strategies with Service Worker — a wiki app case study

TalkinJapaneseat Tokyo Node Festival 2018 · 2018-11-23..11-24· [pwa, web-platform]
links:none on file
slides:none on file

Practical guide to using Service Worker and CacheStorage (with Workbox and custom handlers) to cache a wiki. Describes implementing network-first, cache-first and stale-while-revalidate strategies plus URL normalization, cache versioning and periodic background updates; discusses edge cases like partial-update failures, Cache API size/eviction limits, offline detection limits, and gives concrete code patterns for prefetching, expiring entries and validating versions to reduce load time and enable offline reads.

AI-written summary · about

  1. 0:00Caching with Service Worker
  2. 3:11Why caching matters
  3. 5:45Cache patterns overview
  4. 7:59Cache-first strategy
  5. 10:34Network-first strategy
  6. 13:29Stale-while-revalidate
  7. 16:01Cache invalidation
  8. 19:19Offline detection
  9. 22:38Cache storage
  10. 25:38Full offline mode
  11. 27:30Summary & Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.