timriley + caching   37

n8/multi_fetch_fragments · GitHub
Multi-fetch Fragments makes rendering and caching a collection of template partials easier and faster. It takes advantage of the read_multi method on the Rails cache store. Some cache implementations have an optimized version of read_multi, which includes the popular Dalli client to Memcached. Traditionally, partial rendering and caching of a collection occurs sequentially, retrieving items from the cache store with the less optimized read method.
github  rails  caching  memcache  performance 
january 2013 by timriley
Cashier: Tag Based Caching for Rails. Manage your cache keys with tags, forget about keys!
github  gems  ruby  rails  caching  keys 
april 2012 by timriley
Things Caches Do
Great overview: There are different kinds of HTTP caches that are useful for different kinds of things. I want to talk about gateway caches — or, “reverse proxy caches” — and consider their effects on modern, dynamic web application design.
caching  reverseproxy  http  deployment 
november 2008 by timriley
Dan Manges's Blog - Testing Fragment Caching
Fragment caching can be tricky. The risk is that a user sees the wrong content, but that risk can be mitigated with tests.
rails  caching  testing  bestpractice 
october 2008 by timriley
has_many :through - Segregated page cache storage
How to store generated page caches in an isolated location, rather than in public/ with other static pages. Also a capistrano script to upload new app versions while maintaining previously cached pages.
rails  caching  capistrano 
february 2008 by timriley

Copy this bookmark: