public
Fork of defunkt/cache_fu
Description: Everyone's favorite memcached plugin for ActiveRecord.
Homepage: http://errtheblog.com
Clone URL: git://github.com/technoweenie/cache_fu.git
defunkt (author)
Tue Jan 22 16:27:07 -0800 2008
commit  7b059349b40e567e31463f3b3c5883c60e765b65
tree    f31c944f123a91c232ad8ba43429dc42b7a54f2a
cache_fu / README
100644 18 lines (10 sloc) 0.377 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
== cache_fu
 
A rewrite of acts_as_cached.
 
== Changes from acts_as_cached 1
 
- You can no longer set a 'ttl' method on a class. Instead,
  pass :ttl to acts_as_cached:
    >> acts_as_cached :ttl => 15.minutes
 
- The is_cached? method is aliased as cached?
 
- set_cache on an instance can take a ttl
    >> @story.set_cache(15.days)
 
 
Chris Wanstrath [ chris[at]ozmm[dot]org ]