httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject mod_disk_cache: CacheMaxFileSize and CacheMinFileSize per directory
Date Sun, 12 Sep 2010 23:29:56 GMT
Hi all,

The CacheMinFileSize and CacheMaxFileSize directives in mod_disk_cache  
are currently set per server, which seems to be historical from the  
time before mod_cache could be added as a normal handler /  
specifically placed filter. This stops an administrator applying a  
cache size policy per directory or location.

The fix is to move the directives to the per-directory config. This  
will fix the problem, while being backwards compatible with existing  

A further issue is that of namespace use, in theory these directives  
(and other directives in the mod_disk_cache module) should be prefixed  
with "CacheDisk" or "DiskCache" instead of "Cache". Thoughts?


View raw message