aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-01-09 18:49:50 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-01-09 18:49:50 +0000
commit72bd4ff3e6a24e8d59f8a1a5310fb79924d85bc9 (patch)
tree3dcf99da4ef6d87d57e68ff356a57bafd1db7a0c /railties/environments
parent882f6884a61ac8f9b1fed65648e4609a32886a86 (diff)
downloadrails-72bd4ff3e6a24e8d59f8a1a5310fb79924d85bc9.tar.gz
rails-72bd4ff3e6a24e8d59f8a1a5310fb79924d85bc9.tar.bz2
rails-72bd4ff3e6a24e8d59f8a1a5310fb79924d85bc9.zip
Show that a different cache store can be used
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/production.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/environments/production.rb b/railties/environments/production.rb
index 91f541c4b0..69c8b9ecb6 100644
--- a/railties/environments/production.rb
+++ b/railties/environments/production.rb
@@ -12,6 +12,9 @@ config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_view.cache_template_loading = true
+# Use a different cache store in production
+# 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"