Prevent Caching of Specific Files in IIS 10--Help with Code in web.config

M

M A Weiss

I'm running a streaming server now, using nginx to ingest from OBS studio and write an .m3u8 and .ts files to IIS server directory. I've added MIME type .m3u8 to get it to work.Initially I found that browser caching was preventing the stream from playing anything but the same 8-second segment. I was able to disable all caching with line 6 below from sample file I found online. However, I'd prefer not to disable ALL caching if possible.I tried adding in line 3, 4 and 5 and changed the .jpg to my stream1.m3u8 file that I want to not be cached, but I got a 500 server error when I did that.1<co

Continue reading...
 
Back
Top Bottom