SecondLevelCache is a write-through and read-through caching library inspired by Cache Money and cache_fu, support only Rails3 and ActiveRecord.
使用方法:
class User < ActiveRecord::Base acts_as_cached end