Justin Erenkrantz wrote:
> handler--->content-filter->cache-filter->transfer-filter->network
> (default) (mod_include, (mod_cache) (mod_gz{ip}, (core)
> mod_php) ^ mod_proxy,
> | byte ranges)
> can short-cut
> handler and content-filters
Almost - mod_proxy is a handler, not a transfer filter (otherwise you
could never cache proxy requests):
Basically, there are three "states" of operation, answering the question
"is this URL cached" with the answers "yes", "no" and "maybe". The
mod_cache handler works out each "state", and in each "state", the
filter stack is set up to look like this:
o NO - a virgin URL
handler -> content -> CACHE_IN -> transfer -> core
(mod_cache (mod_include (mod_gzip,
mod_proxy mod_php) BYTERANGE)
mod_core)
o YES - a cached URL
handler -> CACHE_OUT -> transfer -> core
o MAYBE - a stale URL
handler -> content -> CACHE_CONDITIONAL -> CACHE_IN|CACHE_OUT ->
transfer -> core
To sum up, the cache is always first and last (last except for transfer
encodings) so ordering of content filters should not matter to
mod_cache.
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED] "There's a moon
over Bourbon Street
tonight..."
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Ryan Bloom
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Greg Marr
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Ryan Bloom
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Justin Erenkrantz
- Re: cvs commit: httpd-2.0/modules/experimental m... William A. Rowe, Jr.
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Rasmus Lerdorf
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Ian Holsman
- Re: cvs commit: httpd-2.0/modules/experimental m... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental m... Bill Stoddard
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... William A. Rowe, Jr.
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Ryan Bloom
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... William A. Rowe, Jr.
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Ryan Bloom
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Greg Marr
- Re: cvs commit: httpd-2.0/modules/experimental m... Graham Leggett
- Re: cvs commit: httpd-2.0/modules/experimental mod_ca... Bill Stoddard
S/MIME Cryptographic Signature