The Bike Shed
53: Cache Machine
Laila and Derek go on a tour of the various caching mechanisms available to web applications in general, and Rails specifically. When is the right time to cache and at what level?
- The Road to 2 Million Websocket Connections in Phoenix by Gary Rennie
- Toxic Synovitis
- Memoization is a Liability by Henrik Nyh
- Use a leading underscore for memoization
- Two Hard Things in Computer Science
- Rails SQL Cache
- Low-Level Caching (
Rails.cache.fetch
) - Association
counter_cache
- Fragment Caching
- Introduction to Conditional HTTP Caching With Rails by Damian Galarza
- A Guide to Caching Your Rails Application with Fastly by Jessie Young
- Caching Tutorial for Web Authors and Webmasters by Mark Nottingham
- Web Fundamentals: HTTP Caching