Skip to content

Instantly share code, notes, and snippets.

@guelau
Last active July 11, 2016 21:29
Show Gist options
  • Save guelau/9c2c4601de1fde54cbb17de1114342d3 to your computer and use it in GitHub Desktop.
Save guelau/9c2c4601de1fde54cbb17de1114342d3 to your computer and use it in GitHub Desktop.
Adding Cache-Control to all objects of a bucket/directory
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