Hi [email protected],

We had an issue filed requesting support of Targeted HTTP Cache-Control
headers:
https://github.com/apache/trafficserver/issues/9113

Spec:
https://httpwg.org/specs/rfc9213.html

It's actually pretty easy to implement this because we can reuse our
Cache-Control implementation while simply adding prioritized support for
other Cache-Control headers, such as CDN-Cache-Control.

Here's an implementation of the feature:
https://github.com/apache/trafficserver/pull/12679

The new overridable config added is:
proxy.config.http.cache.targeted_cache_control_headers

That takes a comma separated list of targeted Cache-Control headers in
priority order for which ATS should process the Cache-Control directives.
For example a list like the following:

ATS-Cache-Control,CDN-Cache-Control

That would indicate that if ATS sees a targeted Cache-Control of
ATS-Cache-Control, it will prioritize that over CDN-Cache-Control and the
standard Cache-Control.

Any thoughts or concerns?

Thanks!
Brian
-- 
"Come to Me, all who are weary and heavy-laden, and I will
give you rest. Take My yoke upon you and learn from Me, for
I am gentle and humble in heart, and you will find rest for
your souls. For My yoke is easy and My burden is light."

    ~ Matthew 11:28-30

Reply via email to