Skip to content

Commit

Permalink
add info about using Dalli to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Lima authored and rtomayko committed Dec 24, 2010
1 parent a0e4f88 commit c2dfe51
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -75,6 +75,22 @@ See the following for more information:


http://snippets.aktagon.com/snippets/302 http://snippets.aktagon.com/snippets/302


Using with Dalli
----------------

Dalli is a high performance memcached client for Ruby.
More information at: https://github.com/mperham/dalli

require 'dalli'
require 'rack/cache'

use Rack::Cache,
:verbose => true,
:metastore => "memcached://localhost:11211/meta",
:entitystore => "memcached://localhost:11211/body"

run app

Links Links
----- -----


Expand Down

0 comments on commit c2dfe51

Please sign in to comment.