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
EXPERT
demandé il y a 4 ans286 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions