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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南