You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Ram Chander <ra...@gmail.com> on 2015/04/06 10:58:25 UTC
ATS not caching
Hi,
For every request, ATS hits the backend and doesnt cache anything in
memory.
I want to cache object only in memory and not use disk cache.
storage.config is not present.
Below is the record.config. I am just using default configs. Can someone
help how to fix this ?
http://pastebin.com/rh17rfjC
Regards,
Ram
Re: ATS not caching
Posted by Leif Hedstrom <zw...@apache.org>.
> On Apr 6, 2015, at 3:46 AM, Ram Chander <ra...@gmail.com> wrote:
>
> Tried setting below headers, but no luck.
>
> CONFIG proxy.config.http.cache.required_headers INT 0
What is the response header from the origin?
> CONFIG proxy.config.http.cache.enable_default_vary_headers INT 1
Don’t do this. There’s (almost) never a reason to turn this on. Let the origin use the vary as expected, and don’t make ATS override it like this.
— Leif
Re: ATS not caching
Posted by Ram Chander <ra...@gmail.com>.
Tried setting below headers, but no luck.
CONFIG proxy.config.http.cache.required_headers INT 0
CONFIG proxy.config.http.cache.enable_default_vary_headers INT 1
On Mon, Apr 6, 2015 at 2:28 PM, Ram Chander <ra...@gmail.com> wrote:
> Hi,
>
> For every request, ATS hits the backend and doesnt cache anything in
> memory.
> I want to cache object only in memory and not use disk cache.
>
> storage.config is not present.
>
> Below is the record.config. I am just using default configs. Can someone
> help how to fix this ?
>
>
> http://pastebin.com/rh17rfjC
>
>
> Regards,
> Ram
>
Re: ATS not caching
Posted by Ram Chander <ra...@gmail.com>.
Thanks, worked.
On Mon, Apr 6, 2015 at 8:00 PM, Sudheer Vinukonda <su...@yahoo-inc.com>
wrote:
> [Resending, since my original reply bounced back]
>
>
>
> On Monday, April 6, 2015 6:56 AM, Sudheer Vinukonda <
> sudheerv@yahoo-inc.com> wrote:
>
>
> Storage.config must not be empty. If you do not want to use disk cache,
> you may configure tmpfs as a ramdisk and use that in storage.config.
>
> Thanks,
>
> Sudheer
>
>
> Sent from Yahoo Mail for iPhone <https://yho.com/footer0>
>
> At Apr 6, 2015, 1:58:33 AM, Ram Chander wrote:
> Hi,
>
> For every request, ATS hits the backend and doesnt cache anything in
> memory.
> I want to cache object only in memory and not use disk cache.
>
> storage.config is not present.
>
> Below is the record.config. I am just using default configs. Can someone
> help how to fix this ?
>
>
> http://pastebin.com/rh17rfjC
>
>
> Regards,
> Ram
>
>
>
>
Re: ATS not caching
Posted by Sudheer Vinukonda <su...@yahoo-inc.com>.
[Resending, since my original reply bounced back]
On Monday, April 6, 2015 6:56 AM, Sudheer Vinukonda <su...@yahoo-inc.com> wrote:
| Storage.config must not be empty. If you do not want to use disk cache, you may configure tmpfs as a ramdisk and use that in storage.config.
Thanks,
Sudheer
Sent from Yahoo Mail for iPhone
At Apr 6, 2015, 1:58:33 AM, Ram Chander wrote:Hi,
For every request, ATS hits the backend and doesnt cache anything in memory.
I want to cache object only in memory and not use disk cache.
storage.config is not present.
Below is the record.config. I am just using default configs. Can someone help how to fix this ?
http://pastebin.com/rh17rfjC
Regards,
Ram
|