You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Yossi Nachum <yo...@biscience.com> on 2016/11/30 16:35:54 UTC
disable cache completely
Hi All,
I search for almost a day and couldn't find how can I disable cache in trafficserver for all traffic.
Our system use trafficserver as proxy to scrap remote sites so we don't need/want any kind of cache
Thanks and Sorry I couldn't find that
Yossi
Re: disable cache completely
Posted by Leif Hedstrom <zw...@apache.org>.
> On Nov 30, 2016, at 9:57 AM, Yossi Nachum <yo...@biscience.com> wrote:
>
> Yes I tried that and I saw that traffic still create a big file for cache called cache.db
> And writes a lot to host.db in the same directory
Sounds like you retained the default cache (in storage.config), it will create that regardless if HTTP caching is enabled or not (you can still use it for e.g. plugins to read/ write things to cache). Just make sure storage.config is empty and you would definitely get no cache file.
The HostDB stuff is the DNS cache. It’s as expected that it’ll write to that, you can turn off the writes, but that works very poorly in ATS v6.x, but should be improved in v7.0.0.
— Leif
>
> Maybe I don’t test it right?
> <>
> From: Gandhimathi [mailto:gvelusam@central.uh.edu]
> Sent: Wednesday, November 30, 2016 6:43 PM
> To: users@trafficserver.apache.org
> Subject: Re: disable cache completely
>
> Hi,
>
> Have you tried to set 0 to CONFIG proxy.config.http.cache.http in /usr/local/etc/trafficserver/records.config.
> as follows: CONFIG proxy.config.http.cache.http INT 0
>
> Thanks
> Gandhimathi
>
> On Nov 30, 2016, at 10:35 AM, Yossi Nachum <yossi.nachum@biscience.com <ma...@biscience.com>> wrote:
>
> Hi All,
>
> I search for almost a day and couldn’t find how can I disable cache in trafficserver for all traffic.
>
> Our system use trafficserver as proxy to scrap remote sites so we don’t need/want any kind of cache
>
> Thanks and Sorry I couldn’t find that
> Yossi
Re: disable cache completely
Posted by Gandhimathi <gv...@central.uh.edu>.
Hi,
In my experiments too I don’t want to cache. I did not configure any path in storage.config.
I did not see any cache.db file in my system. May be you could check in your storage.config file.
Thanks
Gandhimathi
> On Nov 30, 2016, at 10:57 AM, Yossi Nachum <yo...@biscience.com> wrote:
>
> Yes I tried that and I saw that traffic still create a big file for cache called cache.db
> And writes a lot to host.db in the same directory
>
> Maybe I don’t test it right?
> <>
> From: Gandhimathi [mailto:gvelusam@central.uh.edu]
> Sent: Wednesday, November 30, 2016 6:43 PM
> To: users@trafficserver.apache.org
> Subject: Re: disable cache completely
>
> Hi,
>
> Have you tried to set 0 to CONFIG proxy.config.http.cache.http in /usr/local/etc/trafficserver/records.config.
> as follows: CONFIG proxy.config.http.cache.http INT 0
>
> Thanks
> Gandhimathi
>
> On Nov 30, 2016, at 10:35 AM, Yossi Nachum <yossi.nachum@biscience.com <ma...@biscience.com>> wrote:
>
> Hi All,
>
> I search for almost a day and couldn’t find how can I disable cache in trafficserver for all traffic.
>
> Our system use trafficserver as proxy to scrap remote sites so we don’t need/want any kind of cache
>
> Thanks and Sorry I couldn’t find that
> Yossi
RE: disable cache completely
Posted by Yossi Nachum <yo...@biscience.com>.
Yes I tried that and I saw that traffic still create a big file for cache called cache.db
And writes a lot to host.db in the same directory
Maybe I don't test it right?
From: Gandhimathi [mailto:gvelusam@central.uh.edu]
Sent: Wednesday, November 30, 2016 6:43 PM
To: users@trafficserver.apache.org
Subject: Re: disable cache completely
Hi,
Have you tried to set 0 to CONFIG proxy.config.http.cache.http in /usr/local/etc/trafficserver/records.config.
as follows: CONFIG proxy.config.http.cache.http INT 0
Thanks
Gandhimathi
On Nov 30, 2016, at 10:35 AM, Yossi Nachum <yo...@biscience.com>> wrote:
Hi All,
I search for almost a day and couldn't find how can I disable cache in trafficserver for all traffic.
Our system use trafficserver as proxy to scrap remote sites so we don't need/want any kind of cache
Thanks and Sorry I couldn't find that
Yossi
Re: disable cache completely
Posted by Gandhimathi <gv...@central.uh.edu>.
Hi,
Have you tried to set 0 to CONFIG proxy.config.http.cache.http in /usr/local/etc/trafficserver/records.config.
as follows: CONFIG proxy.config.http.cache.http INT 0
Thanks
Gandhimathi
> On Nov 30, 2016, at 10:35 AM, Yossi Nachum <yo...@biscience.com> wrote:
>
> Hi All,
>
> I search for almost a day and couldn’t find how can I disable cache in trafficserver for all traffic.
>
> Our system use trafficserver as proxy to scrap remote sites so we don’t need/want any kind of cache
>
> Thanks and Sorry I couldn’t find that
> Yossi