Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get mod disk_cache to permantly cache images retrieved from an image server on the webserver using ProxyPass.

While the image is being retrieved correctly from the server and is served from the cache on further requests, then I am still having the webserver call the image server and causing the cached header to be updated. Because of load concerns then I need to never call the image server on a specific url again after it has been cached once, or extend the refresh time for as long as possible.

The webserver is IHS 7.0 The mod's are,, Version

Following is from my httpd.conf:

ProxyPass       /webserver/media/images/

# Caching  pictures
<IfModule mod_cache.c>
    <IfModule mod_disk_cache.c>
        CacheDefaultExpire 2628000 
        CacheEnable disk /webserver/media/images/
        CacheIgnoreCacheControl On 
        CacheIgnoreHeaders Cookie Referer User-Agent X-Forwarded-For X-Forwarded-Host X-Forwarded-Server Accept-Language Accept Host
        CacheIgnoreNoLastMod On 
        CacheIgnoreQueryString Off 
        CacheLastModifiedFactor 10000000.1 
        #CacheLock on 
        #CacheLockMaxAge 5 
        CacheMaxExpire 1576800 
        CacheStoreNoStore On 
        CacheStorePrivate On 

        CacheDirLength 2 
        CacheDirLevels 3 
        CacheMaxFileSize 1000000 
        CacheMinFileSize 1 
        CacheRoot c:/cacheroot2 
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.