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 (
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Wed Aug 05 00:50:34 -0700 2009 | |
| |
README | Tue Aug 18 12:58:38 -0700 2009 | |
| |
lib/ | Tue Aug 18 12:58:38 -0700 2009 |
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







