Is there any way to tell Amazon S3 that all existing and future files in some bucket should have some speicific Expires header?
Asked
Active
Viewed 1,846 times
5
-
Cache-Control:public ,max-age=31536000 For one year, or 86400 for one day http://stackoverflow.com/questions/22501465/how-to-add-cache-control-in-aws-s3 – nu everest Mar 02 '17 at 03:26
1 Answers
2
You can always set policies for buckets, such that they will be applied to all objects added to it. You can use the AWS Policy Generator to create one -- though I'm not sure of the exact syntax for EXPIRES headers. If you find out the right format, please reply!

Neal Magee
- 329
- 1
- 7