Created
October 19, 2017 03:53
-
-
Save humphreybc/3641d4180f18c34af57621dd561a75a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.public_file_server.headers = { | |
'Cache-Control' => 'public, s-maxage=31536000, maxage=15552000', | |
'Expires' => "#{1.year.from_now.to_formatted_s(:rfc822)}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment