projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c485ae3
)
Disable rack caching in production
author
Tom Hughes
<tom@compton.nu>
Mon, 7 Nov 2011 10:57:38 +0000
(10:57 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 14 Nov 2011 09:42:58 +0000
(09:42 +0000)
config/environments/production.rb
patch
|
blob
|
history
diff --git
a/config/environments/production.rb
b/config/environments/production.rb
index c21d8616303298212132ced1c64f2b1aa14a1e4f..6909c8d4324e1ef804af176c5cb72e31247d0510 100644
(file)
--- a/
config/environments/production.rb
+++ b/
config/environments/production.rb
@@
-8,6
+8,9
@@
OpenStreetMap::Application.configure do
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
+ # Disable rack caching
+ config.action_dispatch.rack_cache = false
+
# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false