split redis for sidekiq and and caching

This commit is contained in:
2021-05-06 17:44:11 +02:00
parent 84a8c94d0e
commit 474b443691
3 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Rails.application.configure do
config.action_controller.perform_caching = true
config.action_controller.enable_fragment_cache_logging = true
config.cache_store = :memory_store
config.cache_store = :redis_cache_store, { url: ENV['REDIS_URL'] }
config.public_file_server.headers = {
'Cache-Control' => "public, max-age=#{2.days.to_i}"
}