On Mon, Apr 22, 2024 at 6:26 PM Nuno Vargas <[email protected]> wrote:
> Hi, > > > > You can use cache.config: > > url_regex=something action=never-cache > > > > > https://docs.trafficserver.apache.org/admin-guide/files/cache.config.en.html > Thank you. Will look into it. > > Regards, > > Nuno V. > > > > *From:* dave seddon <[email protected]> > *Sent:* 22 de abril de 2024 15:46 > *To:* [email protected] > *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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> 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 >
