~/talk

Caching for Cash

Talkat UtahJS Conf 2023 · on Friday, 2023-09-15· [javascript, web-performance]
slides:none on file

Covers concrete caching rules and code patterns including how cache keys must account for all inputs and how missing inputs produce stale results with real examples like computing Pi and addDays. Explains revalidation strategies: proactive updates via a GitHub action, cache control headers and stale-while-revalidate for zero-wait UX, plus soft purge to avoid stampedes. Addresses cache size limits with LRU, disk/sqlite and redis options, cache warming, entry validation, and request deduplication.

AI-written summary · about

  1. 0:00Introduction to caching
  2. 1:08Why caching matters
  3. 4:39What is caching
  4. 6:45Cache keys explained
  5. 8:28Finding cache bugs
  6. 9:58Challenges with cache keys
  7. 13:51Cache revalidation strategies
  8. 15:36Stale-while-revalidate model
  9. 20:13Cache size problems
  10. 21:18Solutions for cache size
  11. 23:28Cache warming techniques
  12. 24:10Cache entry validation
  13. 24:51Request duplication issues
  14. 25:55Introducing Cachify
~/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.