diff --git a/config/environments/production.rb b/config/environments/production.rb index 163235cf2..04620ef23 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -21,7 +21,7 @@ # Cache assets for far-future expiry since they are all digest stamped. config.public_file_server.headers = { - "cache-control" => "public, max-age=#{Integer(1.year, 10)}" + "cache-control" => "public, max-age=#{Integer(1.year)}" } # Enable serving of images, stylesheets, and JavaScripts from an asset server.