Pipeline memcache requests to the cache

This commit is contained in:
Tom Hughes 2012-02-23 21:43:14 +00:00
parent 92f667f488
commit 24a26e015a

View file

@ -49,7 +49,7 @@ OpenStreetMap::Application.configure do
# Use a different cache store in production
if defined?(MEMCACHE_SERVERS)
config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache")
config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache", :no_block => true, :buffer_requests => true, :noreply => true)
end
# Enable serving of images, stylesheets, and JavaScripts from an asset server