~/talk

Caching strategies on https://dev.to

Talkat rubyday 2023 · on Friday, 2023-06-16· [web-performance, devops-and-delivery]
slides:none on file

DEV runs a read‑heavy Ruby on Rails site with over 1 million users and credits caching for its snappy pages. It shows Edge caching with Fastly (warm vs cold hits, shielding, purge API), fragment and browser caching for mixing static article shells with dynamic reaction widgets, and background counts via Counter Culture counter caching. Cache headers use smaxage and max‑age (smaxage 30 days, max‑age 3,000 days) and the team relies on purging rather than short expiries.

AI-written summary · about

  1. 0:00Introduction
  2. 3:17What is Dev.to
  3. 5:01Why caching is crucial
  4. 6:05Response caching fundamentals
  5. 7:53Where to implement caching
  6. 8:58Edge caching with Fastly
  7. 12:14Verifying Edge caching
  8. 13:16Cache control headers
  9. 14:43Counter caching
  10. 16:48Tag caching and queries
  11. 17:49When to implement caching
  12. 19:57Q&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.