You have to  handle headers on origin servers. In addition to that there are some parameters in records.config ingore no cache both client and servers.


Sent from Yahoo Mail for iPhone

On Sunday, December 3, 2017, 8:54 AM, ezko <erez.koler@harmonicinc.com> wrote:

I am trying to configure ATS reverse proxy with a live HLS origin which
returns Cache-Control: no-cache on everything.
By default ATS doesn't cache anything because the origin server objects have
response headers with Cache-Control: no-cache (this is documented).

The only way i found to get it to work was pinning the objects by adding the
following to cache.config:

url_regex=<path to origin> ttl-in-cache=10s

i choose 10 seconds because that is the target duration in the HLS playlist

But this seems like a very manual and verbose method , is there any better
way to configure live content from an origin that returns no-cache ?

Sent from: http://apache-traffic-server.24303.n7.nabble.com/