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
ESPERTO
posta 4 anni fa286 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande