当前位置: 动力学知识库 > 问答 > 编程问答 >

amazon web services - If I remove objects from S3 will they still stay in CloudFront?

问题描述:

I'm removing objects like this:

 Get-S3Object -BucketName "abilitest-user-staging" -KeyPrefix "content/bundles"

But what will happen to the copies of these objects that were previously sent to CloudFront? Will they stay there for ever?

网友答案:

Objects in cloudfront may be removed at any point, either because their expiry period has been reached (depending on the caching headers the object was served with) or just because cloudfront decided it wasn't worth keeping the copy around.

In addition it's not a simple in cloudfront / out of cloudfront situation: there are many edge locations (50+) and each of those caches the object independently: some locations may never have cached the object in the first place.

分享给朋友:
您可能感兴趣的文章:
随机阅读: