Note that there are some explanatory texts on larger screens.

plurals
  1. POIIS 7 returning an old version of a constantly changing file
    text
    copied!<p>I'm trying to use IIS7 to host a <a href="http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html" rel="nofollow noreferrer">HTTP Live Streaming</a> server. </p> <p>For those not familiar with HTTPLS: an audio or video stream is broken into small segments and made available on a web server. Along with the segments an index.m3u8 file is created which is a flat text file that lists segments currently available for download in the order in which they should be played. Typically, a new segment is created every 5 or 10 seconds and the index.m3u8 is overwritten at that time.</p> <p>So I have a service running in Windows Server 2008 that is writing its segments and index.m3u8 files into a directory hosted by IIS. My client software connects and has no problem playing audio most of the time.</p> <p><strong>The problem:</strong> The client will sometimes receive an old index file over and over for hours on end despite the fact that new audio segments are being created.</p> <p>I have two possible explanations:</p> <ol> <li>The service creating the segments is not succeeding in overwriting the index.m3u8 for prolonged periods of time.</li> <li>IIS7 has an internal file system cache that it reading from to fulfill the web requests.</li> </ol> <p><strong>So my question:</strong> does IIS have such a cache and if so what settings do I make to disable it?</p> <p>Edit: I forgot to mention the IIS logs for these requests show http code <strong>200</strong> request OK.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload