> Has anyone considered permitting a hash database (instead of, or in
> addition to, the flatfile setup) for redirect directives? The advantage
> would be super-fast lookups by Apache of a URL redirection target,
> without being responsible for keeping the data in memory (leaving it up
> to the Unix kernel's buffer cache instead). This would be good for
> sites that have huge lists of redirect statements.
Redirects are typically chosen by name prefix or regular expression.
I don't know how to look those up via a hash table. A fixed-string
redirect could be done by hash lookup, but that would only improve
performance if we eliminated the prefix lookups. In other words, a
separate module that could be plugged-in instead of mod_alias or
mod_rewrite.
....Roy