diff --git a/config/environments/development.rb b/config/environments/development.rb index 5fc5a6ed961..af5be44b4be 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -26,7 +26,9 @@ Rails.application.configure do config.action_controller.enable_fragment_cache_logging = true config.cache_store = :redis_cache_store, REDIS_CACHE_PARAMS - config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}" } + config.public_file_server.headers = { + 'Cache-Control' => "public, max-age=#{2.days.to_i}", + } else config.action_controller.perform_caching = false