README.md in dalli-0.9.10 vs README.md in dalli-0.10.0

- old
+ new

@@ -59,13 +59,13 @@ A more comprehensive example (note that we are setting a reasonable default for maximum cache entry lifetime (one day), enabling compression for large values, and namespacing all entries for this rails app. Remove the namespace if you have multiple apps which share cached values): config.cache_store = :dalli_store, 'cache-1.example.com', 'cache-2.example.com', :namespace => NAME_OF_RAILS_APP, :expires_in => 1.day, :compress => true, :compress_threshold => 64.kilobytes -In `config/initializers/session_store.rb`: +To use Dalli for Rails session storage, in `config/initializers/session_store.rb`: require 'action_dispatch/middleware/session/dalli_store' - Rails.application.config.session_store :dalli_store, :key => ... + Rails.application.config.session_store :dalli_store, :memcache_server => ['host1', 'host2'], :namespace => 'sessions', :key => '_foundation_session', :expire_after => 30.minutes Usage with Rails 2.3.x ----------------------------