trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Zelkowitz <...@apache.org>
Subject Re: One-hit-wonder filtering
Date Thu, 25 Jul 2019 19:43:02 GMT
Yea cache promote should do you what you want, set the buckets value and
hits appropriately sized for the amount of requests you get on that remap
(or plugin wide) and the amount of times you wish to have seen it before
allowing it in to cache

On Thu, Jul 25, 2019 at 1:15 PM Sudheer Vinukonda <
sudheervinukonda@yahoo.com> wrote:

> Nice to know, TIL! Thank you!
>
> On Thursday, July 25, 2019, 12:12:30 PM PDT, Jason Yang <
> peter.waynechina@gmail.com> wrote:
>
>
> Great to know! Thank you!
>
>
> Juncheng
>
>
> On Jul 25, 2019, 15:05 -0400, Jeremy Payne <jp557198@gmail.com>, wrote:
>
> What about the 'cache promote' plugin ?
>
>
>
> On Thu, Jul 25, 2019 at 2:01 PM Sudheer Vinukonda <
> sudheervinukonda@yahoo.com> wrote:
>
> Ah, very interesting. That requires an additional mechanism to maintain
> the state (first or subsequent access) across requests. Yeah, AFAIK, this
> will need a new plugin (don't believe there's anything built-in or
> pre-existing to support this).
>
> Thanks,
>
> Sudheer
>
>
> On Thursday, July 25, 2019, 11:51:07 AM PDT, Jason Yang <
> peter.waynechina@gmail.com> wrote:
>
>
> Hi Sudheer,
>     Thank you for your quick reply! It seems the option you proposed is a
> general control. Writing a plugin is indeed one option, but to avoid
> reinventing the wheel, I just want to double check that ATS does not have
> this function. To be specific, I don’t want to cache an object when I first
> time see it. In other words, I only want to cache objects that have been
> seen at least twice.
>
>
> Best,
> Juncheng
>
>
> On Jul 25, 2019, at 14:12, Sudheer Vinukonda <sudheervinukonda@yahoo.com>
> wrote:
>
> Hmm..not entirely sure if I understand the question, but, if you are
> asking ATS supports skipping cache on some requests, yes. There's different
> ways of doing that. You can disable cache per remap line using records.config
> — Apache Traffic Server 9.0.0 documentation
> <https://docs.trafficserver.apache.org/en/latest/admin-guide/files/records.config.en.html?highlight=records%20config#proxy-config-http-cache-http>
or
> use cache.config or write a plugin for more finer control
>
> records.config — Apache Traffic Server 9.0.0 documentation
>
>
> <https://docs.trafficserver.apache.org/en/latest/admin-guide/files/records.config.en.html?highlight=records%20config#proxy-config-http-cache-http>
>
>
>
> cache.config — Apache Traffic Server 9.0.0 documentation
> <https://docs.trafficserver.apache.org/en/latest/admin-guide/files/cache.config.en.html#std:configfile-cache.config>
>
> cache.config — Apache Traffic Server 9.0.0 documentation
>
>
> <https://docs.trafficserver.apache.org/en/latest/admin-guide/files/cache.config.en.html#std:configfile-cache.config>
>
>
> Does that answer your question?
>
> Thanks,
>
> Sudheer
>
>
> On Thursday, July 25, 2019, 11:05:34 AM PDT, Jason Yang <
> peter.waynechina@gmail.com> wrote:
>
>
> Hi there,
>     I am wondering whether ATS supports filtering one-hit-wonders (do not
> store them into cache). Thank you!
>
>
> Best,
> Juncheng
>
>
>

Mime
View raw message