Thursday, January 29, 2009

faster performance in apache, httpd, enable disk cache

To enable a disk cache, edit the following section in httpd.conf.

##########################

CacheEnable disk /
CacheRoot "/var/www/dir_name"
CacheDefaultExpire 3600

#########################

Where "dir_name" is the directory to be cached.


No comments: