Drop-in replacement for ActiveSupport::Cache::MemCacheStore powered by Evan Weaver's Memcached
gem 'memcached_store'
gem install memcached_store
In config/application.rb
, add this:
config.cache_store = :memcached_store, '127.0.0.1:11211', { :namespace => "production" }
config.cache_store = :memcached_store, ['10.0.0.1:11211', '10.0.0.2:11211']
See http://github.com/fauna/memcached for configuration options.
- Write tests
- Implement multi_get
Copyright (c) 2008-2011 Lourens Naudé, Pivotal Labs, Friendster Inc.. Released under the MIT license