diff --git a/apps/dashboard/config/environments/development.rb b/apps/dashboard/config/environments/development.rb index 5d06b64248..b524aa2423 100644 --- a/apps/dashboard/config/environments/development.rb +++ b/apps/dashboard/config/environments/development.rb @@ -20,16 +20,15 @@ config.action_controller.perform_caching = true config.action_controller.enable_fragment_cache_logging = true - config.cache_store = :memory_store config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}" } else config.action_controller.perform_caching = false - - config.cache_store = :null_store end + config.cache_store = :memory_store + config.action_mailer.perform_caching = false # Print deprecation notices to the Rails logger. diff --git a/apps/dashboard/config/environments/production.rb b/apps/dashboard/config/environments/production.rb index 31edd62a9d..572f1b1c88 100644 --- a/apps/dashboard/config/environments/production.rb +++ b/apps/dashboard/config/environments/production.rb @@ -40,7 +40,7 @@ # config.log_tags = [ :request_id ] # Use a different cache store in production. - # config.cache_store = :mem_cache_store + config.cache_store = :memory_store # Use a real queuing backend for Active Job (and separate queues per environment). # config.active_job.queue_adapter = :resque