I created a distribution in cloudfront using my files on S3. It worked fine and all my files were available. But today I updated my files on S3 and tried to access them via Clou
How to change the Cache-Control max-age via the AWS S3 Console:
Properties
Metadata
Key
named Cache-Control
, then click Add more metadata
. Key
to Cache-Control
set the Value
to max-age=0
(where 0 is the number of seconds you would like the file to remain in the cache). You can replace 0 with whatever you want.