ihower / handcache
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
README
handcache use Moneta(http://github.com/wycats/moneta) to provide get_and_set method and compressed feature. == USAGE Moneta provide many stores, for example: Add below line to your environment.rb CacheStore = Moneta::Memory.new or CacheStore = Moneta::Memcache.new( :server => "127.0.0.1" ) Then in your code: data = Handcache.get_and_set("data-123", :expires_in => 60 ) do "cached-foobar" end

