Jump to content
  • 0

Ant Media HLS and Cloudfront Issue?


Ray Jender
 Share

Question


So, I can live stream and view HLS just fine, however when I make a change in my html used to view the HLS, it does not propagate to CDN, even when I refresh!   For instance I simple added an <H1> tag into the play.html.   But when I access it, the old version of play.html is displayed?

Any idea how to either fix this or further troubleshoot?  I am basically new to Amazon Cloudfront.

Thanks and appreciate your responses.

Ray
Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
I take that back.   I am still seeing an old version of play.html after clearing cache and cookies.   It is a version just prior to when I made a change!

I have no idea WTF is going on!   Frustrating!

Ray

On Friday, April 10, 2020 at 3:37:15 PM UTC-4, Ray Jender wrote:

So, I can live stream and view HLS just fine, however when I make a change in my html used to view the HLS, it does not propagate to CDN, even when I refresh!   For instance I simple added an <H1> tag into the play.html.   But when I access it, the old version of play.html is displayed?

Any idea how to either fix this or further troubleshoot?  I am basically new to Amazon Cloudfront.

Thanks and appreciate your responses.

Ray
Link to comment
Share on other sites

  • 0
No idea how to clear cache on Amazon, but quick work around I'd guess is to change the file name.. or add a querystring 

?v=2
for example.
Details here on invalidating the file cache: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidating-objects-api





On Friday, 10 April 2020 21:35:56 UTC+1, Ray Jender wrote:
I take that back.   I am still seeing an old version of play.html after clearing cache and cookies.   It is a version just prior to when I made a change!

I have no idea WTF is going on!   Frustrating!

Ray

On Friday, April 10, 2020 at 3:37:15 PM UTC-4, Ray Jender wrote:

So, I can live stream and view HLS just fine, however when I make a change in my html used to view the HLS, it does not propagate to CDN, even when I refresh!   For instance I simple added an <H1> tag into the play.html.   But when I access it, the old version of play.html is displayed?

Any idea how to either fix this or further troubleshoot?  I am basically new to Amazon Cloudfront.

Thanks and appreciate your responses.

Ray
Link to comment
Share on other sites

  • 0
Ok.  Figured it out that I have to use versioning on the play.html file.  It's working now.

Ray

On Friday, April 10, 2020 at 3:37:15 PM UTC-4, Ray Jender wrote:

So, I can live stream and view HLS just fine, however when I make a change in my html used to view the HLS, it does not propagate to CDN, even when I refresh!   For instance I simple added an <H1> tag into the play.html.   But when I access it, the old version of play.html is displayed?

Any idea how to either fix this or further troubleshoot?  I am basically new to Amazon Cloudfront.

Thanks and appreciate your responses.

Ray
Link to comment
Share on other sites

 Share

×
×
  • Create New...