Cloudfront serves stale manifest for the DVR playback

0

We are having an issue in our platform where stale manifest is served for the DVR/Start-over playback requests. This creates inconsistency in the DVR DASH playback when the manifest changes from type=Dynamic to type=Static.

From our observation, at times, when the end time of startover and the playback request don’t align perfectly, the last manifest from origin is of type=dynamic, but max=age=21600. This result in Cloudfront caching this manifest, and returning to the subsequent requests. We need a means to not cache the manifest during this transition. We are looking at using cache-control: stale-while-validate or max=age , or some other options to correct the behaviour.

Karthik
feita há um ano220 visualizações
1 Resposta
0

Hi - May be you can explore stale-while-revalidate and stale-if-error cache control directives. stale-while-revalidate is ideal for content that refreshes frequently or unpredictably, or where content requires significant time to regenerate, and where having the latest version of the content is not essential. The stale-if-error directive enhances the user experience and improves availability by serving stale content when origins return an error.

profile pictureAWS
ESPECIALISTA
respondido há um ano
  • Hi Nitin, Thanks for response. Could you share the procedure how to enable the flag stale-while-revalidate in cloudfront? Is it under cache behaviour? or do we need to use any L@E for this?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas