(And there are close examples on that page: https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/header_rewrite.en.html#check-for-existence-of-a-header and https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/header_rewrite.en.html#add-cache-control-headers-based-on-origin-path
On Mon, Apr 22, 2024 at 7:49 AM dave seddon <dave.seddon...@gmail.com> wrote: > I guess you could rewrite the headers > > https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/header_rewrite.en.html > > On Mon, Apr 22, 2024 at 7:31 AM Pavel Vazharov <pa...@x3me.net> wrote: > >> Thank you for the response. >> >> Unfortunately we don't have control over the upstream http servers in >> this case. >> We need to make sure that we don't cache particular objects while working >> as a forward proxy. >> I think, I can write a C++ plugin for this. I was just trying to find if >> there is a ready solution before writing our own. >> >> On Mon, Apr 22, 2024 at 5:26 PM dave seddon <dave.seddon...@gmail.com> >> wrote: >> >>> The "cleanest" way is for the upstream http server to add cache control >>> headers >>> >>> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control >>> >>> On Mon, Apr 22, 2024, 07:22 Pavel Vazharov <pa...@x3me.net> wrote: >>> >>>> Hi there, >>>> >>>> Is there existing ATS functionality or plugin through which can be >>>> disabled caching of particular objects by URL or regex? >>>> >>>> Thanks, >>>> Pavel. >>>> >>> > > -- > Regards, > Dave Seddon > +1 415 857 5102 >