When would CloudFront cache successfully

0

Will CloudFront still be able to successfully cache my file (say, if it's one of the TS file from the HLS video) if I immediately close the http connection once I got the response header from the request to CloudFront? Or should I keep the http connection until the downloading is finished?

AWS
专家
已提问 4 年前286 查看次数
1 回答
0
已接受的回答

If CloudFront has already fetched the entire file, then it will cache it. If CloudFront hasn't then it will not.

If your file is < 64K there is an almost 100% chance that it will always be cached. Other than that your mileage may vary based on origin response latency and throughput.

AWS
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则