Dear All,
I would like to cache the .m3u8 file to be able to provide offline caching service by Squid. The played HLS video streaming is the link as below:
However, the .m3u8 file is not be cached probably because it is mentioned as a no-cache, no-store, max-age=0 in the "Cache-Control" in the HTTP header.
HTTP/1.1 200 OK
Server: Apache
ETag: "
Last-Modified: Mon, 07 Mar 2011 16:52:31 GMT
Expires: Fri, 02 Jun 2017 14:26:52 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 02 Jun 2017 14:26:52 GMT
Content-Length: 16046
Set-Cookie: AKID=
Content-Type: application/x-mpegURL
Access-Control-Allow-Origin: *
I added a new rule for .m3u8 file in squid.conf, however, it is still not working.
refresh_pattern -i \.(ts|m3u8)$ 120 90% 1000 override-expire override-lastmod ignore-no-cache ignore-no-store
Does anyone know how to allow Squid caching the .m3u8 file? Thanks a lot in advance.
Best Regards,
--
Yaning.
--
Yaning.
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users