[users@httpd] Question about mod_cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am looking to set up some caching apache servers to offload commonly accessed
static content.  We had been using IBM's WebSphere Edge Components 5.0.2 until
we started experiancing issues where the ibmproxy process would constantly
crash, but not in any sort of predictable manner.  We currently deployed apache
2.0.52 and I enabled mod_cache as well as mod_mem_cache and mod_disk_cache.  I
was expecting to see entries in the CacheRoot folder, which is owned by the
user that the apache process is running as.  I basicly took the sample
httpd.conf from the apache site and modified it to fit my environment.

-------------------------------------------------------
<IfModule mod_cache.c>

#LoadModule disk_cache_module modules/mod_disk_cache.so
<IfModule mod_disk_cache.c>

CacheRoot /opt/www/div/mwdc/cacheroot
CacheSize 2000000

CacheEnable disk /opt/www/htdocs/gifts
CacheEnable disk /opt/local/htdocs/images
CacheDirLevels 5
CacheDirLength 3

</IfModule> 

LoadModule mem_cache_module modules/mod_mem_cache.so
<IfModule mod_mem_cache.c>

CacheEnable mem /opt/www/htdocs/gifts
CacheEnable mem /opt/local/htdocs/gifts
MCacheSize 2000000
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048

</IfModule>
</IfModule> 
-------------------------------------------------------

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux