From 1b29a237c0bd583fbd947f847231e3e9f954cd05 Mon Sep 17 00:00:00 2001 From: joegatt Date: Sun, 1 Sep 2013 19:22:37 +0200 Subject: [PATCH] Update cache store settings and asset server settings --- config/environments/production.rb | 6 ++---- config/environments/staging.rb | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index c0566c75..20e9a0d2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -41,10 +41,10 @@ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) # Use a different cache store in production - # config.cache_store = :mem_cache_store + config.cache_store = :mem_cache_store # 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://a3.joegatt.org' # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) config.assets.precompile += %w( polyfills.js .svg .eot .woff .ttf ) @@ -66,6 +66,4 @@ config.active_support.deprecation = :notify config.eager_load = true - - config.cache_store = :dalli_store end diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 0e344dec..853a2441 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -41,10 +41,10 @@ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) # Use a different cache store in production - # config.cache_store = :mem_cache_store + config.cache_store = :mem_cache_store # 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://a4.joegatt.org' # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) config.assets.precompile += %w( polyfills.js .svg .eot .woff .ttf ) @@ -69,6 +69,4 @@ config.active_support.deprecation = :notify config.eager_load = true - - config.cache_store = :dalli_store end