Hello,

is it possible to set a global maximum cache TTL which would respect
Cache-contol: max-age values that are lower? For example, I would like to
have all objects cached for a maximum of 1 day, but if I get max-age: 1h
then I want ATS to respect that. However, if backend responds with max-age:
7d then I want ATS to override this value and revalidate after 1 day.

I tried setting in cache.config:
url_regex=.* revalidate=1d
or
url_regex=.* ttl-in-cache=1d
but these parameters force the TTL value and do not respect lower max-age
from Cache-control header.

--
Best regards,
Tomasz Kuzemko
[email protected]

Reply via email to