简体   繁体   中英

Is AWS CloudFront distribution available in all edge locations?

The S3 Bucket is located in Sydney region. This is the Origin of a CloudFront distribution I created. Will the static content be cached in all 50+ AWS Edge locations across the world?

The answer is "it depends." The static content will be cached at locations where it has been requested recently. CloudFront is a pull-through cache. When an asset is requested, the closest edge location is checked. If the asset is cached there, it is sent to the requester; if it is not, the asset is pulled from the origin and put into the edge location's cache. It will stay cached until expiration . Assets that expire or are not popular enough to stay cached will be moved to regional caches. Check out the docs on how CloudFront delivers content .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM