Discussion:
cache
Pankaj.Kumar - 00CS1010
2003-11-03 07:34:55 UTC
Permalink
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 :

<IfModule mod_disk_cache.c>
CacheRoot /usr/local/apache2/cacheroot
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>

<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>

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

Please help soon

Pankaj
Graham Leggett
2003-11-03 08:09:53 UTC
Permalink
Post by Pankaj.Kumar - 00CS1010
<IfModule mod_disk_cache.c>
CacheRoot /usr/local/apache2/cacheroot
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>
<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>
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
--

Loading...