Skip to content

Instantly share code, notes, and snippets.

@torkale
Created May 21, 2012 14:25
Show Gist options
  • Save torkale/2762589 to your computer and use it in GitHub Desktop.
Save torkale/2762589 to your computer and use it in GitHub Desktop.
Setting cache store to dalli_store (memcached)
MyApp::Application.configure do
config.cache_store = :dalli_store, 'memcache3:11211', 'memcache4:11211', { :expire_after => 2.hours, :compress => true, :namespace => "my_app_prod" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment