Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

The config file:

<IfModule mod_cache.c>
  <IfModule mod_disk_cache.c>
    CacheRoot /var/cache/mod_cache
    CacheEnable disk /
    CacheDirLevels 5
    CacheDirLength 2
    CacheMinFileSize 0
    CacheIgnoreHeaders Set-Cookie

A URL for example:

In the cache file under /var/cache/mod_cache I see instead of When I reload the URL, it reload the file version of the image. If I reload, the URL with the 443 the caching is working fine.

Any idea why mod_cache adds the port 443 to the path of the cached file? How do I fix this mismatch?

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.