Last active
July 11, 2016 21:29
-
-
Save guelau/9c2c4601de1fde54cbb17de1114342d3 to your computer and use it in GitHub Desktop.
Adding Cache-Control to all objects of a bucket/directory
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
s3cmd modify --add-header='Cache-Control: max-age=2419200, must-revalidate' s3://BUCKET/dir/path --recursive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment