Subject: Configure ATS reverse proxy with live HLS origin returning Cache-Control: no-cache

On Sun, Dec 3, 2017 at 10:44 AM, ezko <[EMAIL PROTECTED]> wrote:

It's just an example.

I think there are 2 distinct HLS cases. For live streaming, the
playlist will change frequently (but usually, the encoded segments
won't). For already recorded content, neither likely change. You might
distinguish between the 2 cases in your remap rule. Or, you could add
extra header_rewrite rules like

cond %{CLIENT-URL:PATH} /\.m3u8/

or perhaps look at the mime type like

cond %{HEADER:Content-Type} /mpegURL/

(though, now re-reading, perhaps you only have the live streaming case.)

No, the ram cache is too intertwined to the disk cache to do that.