This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11157|Reply: 1

Considerations for using Amazon AWS CloudFront

[Copy link]
Posted on 8/13/2019 12:54:23 PM | | | |
Foreign Amazon and domestic Alibaba Cloud are doing very well in cloud servers and cloud products, and I am using the products of these two companies at the same time.
When doing domestic CDN acceleration, I chose Alibaba Cloud's CDN, if I use Amazon CloudFront, the IP address parsed is the address of the United States or Southeast Asian countries, and the access speed is very slow.

When doing global CDN acceleration (except China), I chose Amazon's CloudFront, because Amazon's share of the international market is very high, and nodes are spread across various countries and regions.

When using CloudFront, pay special attention to the following points:

Why doesn't CloudFront follow the caching behavior I created?

Check the path pattern specified in the cache behavior to ensure that the case is formatted correctly. The path pattern specified in CloudFrontCase sensitive。 References to buckets or objects in Amazon Simple Storage Service (Amazon S3) are also case-sensitive. If the path pattern is capitalized incorrectly and your default cache behavior does not cache the requested content, the user may receive a "404 not found" error.

The hyperlink login is visible.

How do I configure Amazon CloudFront to forward host headers to the origin?

The hyperlink login is visible.

Note:Custom headers are case-insensitiveBecause the HTTP protocol itself is not case-sensitive, it is not the reason for AWS.






Previous:Stars - "The Sound of the World HQCD" Ruiming Records_Low Speed Original Grab [WAV]
Next:Alibaba Cloud SLB Load Balancing Solution for 502 Bad Gateway Gateway Error
 Landlord| Posted on 2/27/2023 10:48:19 PM |
https://aws.amazon.com/cn/blogs/china/amazon-cloudfront-article/




When there are multiple Behaviors, if there is a coincidence in the path pattern, you can adjust the order of matching by Move Up/Down.Once it is matched, it will be executed according to that Behavior, and no more other Behaviors will be matchedThe smaller the priority Precedence number, the more priority matches are made
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com