AWS cloudfront not updating on update of files in S3

后端 未结 9 706
无人共我
无人共我 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:51

    For immediate reflection of your changes, you have to invalidate objects in the Cloudfront - Distribution list -> settings -> Invalidations -> Create Invalidation.

    This will clear the cache objects and load the latest ones from S3.

    If you are updating only one file, you can also invalidate exactly one file.

    It will just take few seconds to invalidate objects.

    Distribution List -> settings -> Invalidations -> Create Invalidation

提交回复
热议问题