httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: mod_cache: disk layout for vary support
Date Mon, 11 Oct 2010 06:20:30 GMT

----- "William A. Rowe Jr." <wrowe@rowe-clan.net> wrote:

> On 10/10/2010 11:26 PM, Paul Querna wrote:
> > 
> > I would rather change the defaults to use only two letters and two
> > levels deep for the cache directories, and probally restrict the

see below

> > character set even further to just [a-zA-Z].
> > 
> > I think a case should be made for not using sub-directories inside
> the
> > .varies folder. Instead just flatten it out and put all the
> variants
> > inside a flat directory, rather than distributing them over the
> cache
> > again.

+1

> This also makes sense... 3x5 depth is insane if you aren't caching
> content
> for, say, a cellular ip access node.

In trunk the defaults are 2x2 -- but even that is basically advised
against: http://httpd.apache.org/docs/trunk/caching.html#disk

> What if variants had a single variable, number of directory levels,
> using
> the same dir segment length as the general case?  Then the typical
> default
> flavor could be 1 (additional dir layer) with the option to switch to
> 0
> for sites managing very few variants, or 2 if a large number of
> variants
> were expected.

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

Mime
View raw message