# Use a different cache store in production.
if defined?(MEMCACHE_SERVERS)
- config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache", :no_block => true, :buffer_requests => true, :noreply => true)
+ config.cache_store = :mem_cache_store, MEMCACHE_SERVERS, { :namespace => "rails:cache" }
end
+ # Configure caching of static assets
+ config.action_controller.page_cache_directory = Rails.public_path
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = "http://assets.example.com"