Disable rack caching in production
This commit is contained in:
parent
c485ae3249
commit
0e33245b1d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue