cache

cache

am 03.11.2003 08:34:55 von pankajk

does anyone know how to configuring caching with proxy ? I am running a
proxy but it does not cache the sites that I visit .
I have the following directives put up :


CacheRoot /usr/local/apache2/cacheroot
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3



CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048



But even though it neither gives an error neither does it update the cache
in /usr/local/apache2/cacheroot

Please help soon

Pankaj

Re: cache

am 03.11.2003 09:09:53 von Graham Leggett

Pankaj.Kumar - 00CS1010 wrote:

>
> CacheRoot /usr/local/apache2/cacheroot
> CacheSize 256
> CacheEnable disk /
> CacheDirLevels 5
> CacheDirLength 3
>

>
>
> CacheEnable mem /
> MCacheSize 4096
> MCacheMaxObjectCount 100
> MCacheMinObjectSize 1
> MCacheMaxObjectSize 2048
>

>
>
> But even though it neither gives an error neither does it update the cache
> in /usr/local/apache2/cacheroot

The mem cache might be taking precedance over the disk cache - try
tempporarily disabling the mem cache and see if the disk cache starts to
get full.

Also check the ownership and permissions on the disk cache directory.

Regards,
Graham
--