Hi,

You can use cache.config:
url_regex=something action=never-cache

https://docs.trafficserver.apache.org/admin-guide/files/cache.config.en.html

Regards,
Nuno V.

From: dave seddon <dave.seddon...@gmail.com>
Sent: 22 de abril de 2024 15:46
To: users@trafficserver.apache.org
Subject: Re: Is there ready functionality for disabling caching of particular 
objects


CAUTION: This email was originated from outside NOS organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

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<mailto: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<mailto: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<mailto: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

Reply via email to