Alan2
Alan2

Reputation: 24602

Is there a way I can add DEFAULT cache control to a bucket in S3?

I saw this post:

how to add cache control in AWS S3?

It tells me how I can modify the cache control after loading in objects. But is there a way that I can give the objects loaded into my bucket default cache control TTL ?

Upvotes: 0

Views: 512

Answers (1)

Sébastien Stormacq
Sébastien Stormacq

Reputation: 14905

No, Cache Control is a per object meta data. There is no default value for it at bucket level.

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUT.html

Upvotes: 2

Related Questions