[COLUG] Apache mod_cache

Travis Sidelinger travis at ilive4code.net
Thu Nov 15 09:58:14 EST 2007


Anyone currently using Apache mod_cache?

I'm trying to setup an images cache URL.  The proxy part works, but the
content does not cache.  I've tried numerous configurations and options.
 Both Apache 2.0 and 2.2 have been tried.  Different sites have been
tested, but every time I check the CacheRoot directory, nothing is
cached there.  Tcpdump has been used to verify it still pulls from the
original site every time.

LoadModule proxy_module      /usr/lib64/apache2-prefork/mod_proxy.so
LoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.so
LoadModule cache_module      /usr/lib64/apache2-prefork/mod_cache.so
LoadModule disk_cache_module /usr/lib64/apache2-prefork/mod_disk_cache.so

<VirtualHost 66.213.28.21>
    CacheRoot /vol/data/devl/cache
    #CacheDefaultExpire 14400
    #CacheMaxExpire 604800
    #CacheMinFileSize 1
    #CacheMaxFileSize 128000
    #CacheSize 10000
    #CacheDirLevels 5
    #CacheDirLength 3
    #CacheIgnoreCacheControl On
    #CacheIgnoreNoLastMod On

    ProxyPass        /images http://lib.syndetics.com/
    ProxyPassReverse /images http://lib.syndetics.com/
    CacheEnable disk /images
</VirtualHost>

Travis Sidelinger
Columbus Metropolitan Library
Systems Admin


More information about the colug432 mailing list