Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Update cache store settings and asset server settings
Browse files Browse the repository at this point in the history
  • Loading branch information
joegatt committed Sep 1, 2013
1 parent 72c7507 commit 1b29a23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -66,6 +66,4 @@
config.active_support.deprecation = :notify

config.eager_load = true

config.cache_store = :dalli_store
end
6 changes: 2 additions & 4 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -69,6 +69,4 @@
config.active_support.deprecation = :notify

config.eager_load = true

config.cache_store = :dalli_store
end

0 comments on commit 1b29a23

Please sign in to comment.