AWS cloudfront not updating on update of files in S3

后端 未结 9 546
无人共我
无人共我 2021-02-01 14:12

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

9条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-01 14:52

    Thanks tedder42 and Chris Heald

    I was able to reduce the cache duration in my origin i.e. s3 object and deliver the files more instantly then what it was by default 24 hours. for some of my other distribution I also set forward all headers to origin in which cloudfront doesn't cache anything and sends all request to origin.

    thanks.

提交回复
热议问题