How to clear Amazon CloudFront Cache completely?

后端 未结 3 2004
粉色の甜心
粉色の甜心 2021-01-07 19:54

I made some changes to my origin server which now serves different data from same url.

I tried to clear my cache completely by doing the following invalidation in CF

3条回答
  •  清酒与你
    2021-01-07 20:05

    CloudFront does now support wildcard or full distribution invalidation. You will need do do one of the followng.

    • Invalidate each object that has changed
    • Invalidate /*
    • Version your objects so that they are considered new (Ie rename or querystring)

    http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidating-objects-console

提交回复
热议问题