httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: mod_disk_cache: CacheMaxFileSize and CacheMinFileSize per directory
Date Mon, 13 Sep 2010 06:53:37 GMT


On 09/13/2010 01:29 AM, Graham Leggett wrote:
> 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?

+1 to the name and I guess we could break the naming between 2.2 and 2.4,
possibly with a more precise error message that says the new name of the
directive instead of just the typical unknown message.

Regards

RĂ¼diger


Mime
View raw message