We have around 10,000+ images in a bucket in Amazon S3, how can I set the expires header on all of the images in one go?
An alternative solution is to add response-expires parameter in your URL. It sets the Expires header of the response.
response-expires
Expires
See Request Parameters section in http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html for more detail.