This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8382a201fbefd65747add96748b9732b554cc0fc
tree afd79c12b1b9fd20ccda777a85cd698f8ca8f650
parent 8d3594773552c4bdca9d491953f23f1a035400a8
tree afd79c12b1b9fd20ccda777a85cd698f8ca8f650
parent 8d3594773552c4bdca9d491953f23f1a035400a8
README
Cached Resource =============== Transparently caches ActiveResource data in a memcached instance by extending cache_fu. Requires cache_fu http://errtheblog.com/posts/57-kickin-ass-w-cachefu Configuring the connection to memcache is done through the cache_fu plugin. Example ======= This is all you need: class MyClass < ActiveResource::Base self.site = MY_SITE cached_resource end Now every time you run a find it will hit the cache first then do the rest query. When retrieving collections, individual objects in the collection will be cached separately. The cached_resource call also takes normal cache_fu options: cached_resource :ttl => 15.minutes Doug McInnes <doug.mcinnes@latimes.com> Subba Rao Copyright (c) 2008 Los Angeles Times








