Permalink
Browse files

add info about using Dalli to README

  • Loading branch information...
1 parent a0e4f88 commit c2dfe51cfdb4f40578913102d3d0c5fa67978893 Rafael Lima committed with rtomayko Dec 24, 2010
Showing with 16 additions and 0 deletions.
  1. +16 −0 README
View
@@ -75,6 +75,22 @@ See the following for more information:
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
-----

0 comments on commit c2dfe51

Please sign in to comment.