Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Adjust year seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 2, 2011
1 parent bc9deb6 commit 2e571fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprockets/server.rb
Expand Up @@ -74,7 +74,7 @@ def headers(asset, env)
headers["ETag"] = etag(asset)

if env["QUERY_STRING"] == asset.digest
headers["Cache-Control"] << ", max-age=31557600"
headers["Cache-Control"] << ", max-age=31536000"
end
end
end
Expand Down

0 comments on commit 2e571fa

Please sign in to comment.