Disable rack caching in production

This commit is contained in:
Tom Hughes 2011-11-07 10:57:38 +00:00
parent c485ae3249
commit 0e33245b1d

View 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