~/talk

Caching strategies on https://dev.to

slides:none on file

Dev runs a server‑rendered Ruby on Rails app serving ~1M developers and speeds pages by combining Fastly edge caching with shielding, fragment and Russian‑doll caching in Redis, and browser fingerprinted assets with long max‑age and purge via Fastly API. Examples include serving articles from the edge while fetching live reaction counts separately, fragment keys that include article_last_commented_at to purge comments, and background counter updates (counterculture) to avoid expensive relationship queries.

AI-written summary · about

  1. 0:00Introduction
  2. 4:16What is Dev and caching
  3. 7:24Benefits of caching
  4. 9:13What data should and shouldn't be cached
  5. 11:43Risks of bad caching
  6. 14:12Response caching strategies
  7. 15:38Edge caching deep dive
  8. 23:10Shielding origin load
  9. 27:24Expiring and purging cache
  10. 32:44Fragment caching for views
  11. 36:58Russian doll caching
  12. 39:07Browser caching for assets
  13. 41:13Misc caching techniques
  14. 43:40Key questions before caching
  15. 46:06Conclusion
~/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.