You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Belkacem <re...@gmail.com> on 2011/01/26 12:39:18 UTC

Problem with caching

Hi every one,
i'm a new user of ATS, and i need your help.
here's my problem:
i read the ATS documentation carefully and configured a simple reverse proxy with cache.
i added the line that specifies the location of the cache directory in the storage.config
a simple map, in the remap.config file.
The reverse proxy is working fine, the problem is that i have 0 cache hit, no object is fetched from the cache (the content in cacheable)
Can any one help me please ? 
best regards.
rb

Re: Problem with caching

Posted by Leif Hedstrom <zw...@apache.org>.
On 01/26/2011 04:39 AM, Belkacem wrote:
> Hi every one,
> i'm a new user of ATS, and i need your help.
> here's my problem:
> i read the ATS documentation carefully and configured a simple reverse proxy with cache.
> i added the line that specifies the location of the cache directory in the storage.config
> a simple map, in the remap.config file.
> The reverse proxy is working fine, the problem is that i have 0 cache hit, no object is fetched from the cache (the content in cacheable)


What exactly did you put into storage.config? Is that directory 
writeable by the user you are running the traffic_server process as? 
Also, you see the cache file getting created in that directory?

If all that looks Ok, can you give us some URLs (or full headers) of the 
content that you want to cache? It's quite possible that your content 
simply isn't cacheable.

Cheers,

-- Leif