~/talk

Cache Rules Everything

Talkat performance.now() 2023 · 2023-11-02..11-03· [web-platform, web-performance]
slides:none on file

Only two headers actually solve HTTP caching: cache-control and ETag; remove clutter like Pragma, Expires and Last-Modified. Use directives you can reason about: example short reuses use max-age=3600, protect sensitive responses with no-store, force revalidation with no-cache, give CDNs longer life with s-maxage, tolerate stale content with stale-while-revalidate=600, and treat fingerprinted assets as immutable ≈68 years so they never need revalidation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09HTTP caching for devs
  3. 3:59Caching concepts
  4. 7:06Headers to remove
  5. 12:59Essential caching headers
  6. 15:30Practical caching scenarios
  7. 21:17no-cache vs no-store
  8. 22:25Public vs private caching
  9. 26:17Offline caching
  10. 28:20Stale-while-revalidate
  11. 31:09s-maxage vs private
  12. 33:16Aggressive caching
  13. 36:27Revalidation strategies
  14. 39:54Key takeaways
  15. 42:50Q&A
~/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.