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?

1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen