1
0
Fork 0

Cache fix

This commit is contained in:
Gregory Eremin 2012-09-28 01:32:23 +04:00
parent df0e71225f
commit 069221ae0f
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Beathaven::Application.configure do
# Full error reports are disabled and caching is turned on # Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false 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) # Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false config.serve_static_assets = false
@ -37,7 +37,7 @@ Beathaven::Application.configure do
# config.logger = SyslogLogger.new # config.logger = SyslogLogger.new
# Use a different cache store in production # 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 # Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com" # config.action_controller.asset_host = "http://assets.example.com"