From 069221ae0f406728703e369db53cbefd0b33d854 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Fri, 28 Sep 2012 01:32:23 +0400 Subject: [PATCH] Cache fix --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index b0c2810..91c290f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -6,7 +6,7 @@ Beathaven::Application.configure do # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false - config.action_controller.perform_caching = true + config.action_controller.perform_caching = false # Disable Rails's static asset server (Apache or nginx will already do this) config.serve_static_assets = false @@ -37,7 +37,7 @@ Beathaven::Application.configure do # config.logger = SyslogLogger.new # Use a different cache store in production - config.cache_store = :dalli_store + config.cache_store = :memory_store # Enable serving of images, stylesheets, and JavaScripts from an asset server # config.action_controller.asset_host = "http://assets.example.com"