]> git.openstreetmap.org Git - rails.git/commitdiff
Disable rack caching in production
authorTom Hughes <tom@compton.nu>
Mon, 7 Nov 2011 10:57:38 +0000 (10:57 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:58 +0000 (09:42 +0000)
config/environments/production.rb

index c21d8616303298212132ced1c64f2b1aa14a1e4f..6909c8d4324e1ef804af176c5cb72e31247d0510 100644 (file)
@@ -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