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 configurations.

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?

Regards,
Graham
--

Reply via email to