Enable caching in dev mode

pull/6470/head
Oliver Günther 6 years ago
parent abf43a0ce3
commit 953ef10e7a
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 6
      config/environments/development.rb
  2. 2
      config/environments/test.rb

@ -41,9 +41,11 @@ OpenProject::Application.configure do
# Do not eager load code on boot.
config.eager_load = false
# Show full error reports and disable caching.
# Show full error reports
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# Enable caching in development
config.action_controller.perform_caching = true
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false

@ -52,7 +52,7 @@ OpenProject::Application.configure do
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
config.action_controller.perform_caching = true
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false

Loading…
Cancel
Save