diff --git a/config/environments/production.rb b/config/environments/production.rb index ef22e292..806317f2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -26,7 +26,7 @@ config.assets.compile = false # Force Expires Header to the maximum value - config.static_cache_control = 'public, max-age=30758400' + config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=30758400' } # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb