William A. Rowe, Jr. wrote:
[...]

>On Sat, 23 Jun 2001, dean gaudet wrote:
>
>>>that sounds good.
>>>
>>>it's just like constant-folding :)
>>>
>>>can you generalise it any?  Alias and mod_userdir can add more constant
>>>factors in the path.
>>>
>
>More complicated than that.  Think rewrite :-)
>
>Bill Stoddard and I chatted about this, our collective instinct is that we need
>to generally cache the intermediate results, and give the operator the choice of
>how quickly to invalidate it.
>
In general, I like this caching strategy.  My approach of pre-merging
the configs for all constant path matches is applicable on servers that
have been tuned to disable .htaccess files, but caching of intermediate
results can yield essentially the same optimization while still supporting
htaccess.

The one major concern I have about the caching of intermediate
results is that the mutex protecting the cache reads/writes will
become a scalability bottleneck on multiprocessors, but that's
not an insurmountable problem.

--Brian


Reply via email to