httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <brian.ak...@turner.com>
Subject Re: Possible new cache architecture
Date Mon, 01 May 2006 13:02:31 GMT
Here is a scenario.  We will assume a cache "hit."

Client asks for http://domain/uri.html?args

mod_http_cache generates a key: http-domain-uri.html-args-header

asks mod_cache for value with this key.

mod_cache fetches the value, looks at expire time, its good, and returns 
the "blob"

mod_http_cache examines blob, it's vary information on Accept-Encoding.

mod_http_cache generates a new key: http-domain.html-args-header-gzip 
(value from client)

asks mod_cache for value with this key.

mod_cache fetches the value, looks at expire time, its good, and returns 
the "blob"

mod_http_cache examines blob, it's a normal header blob. does not "meet 
conditions" need to get data.

mod_http_cache generates a new key: http-domain.html-args-data-gzip 
(value from client)

asks mod_cache for value with this key.

mod_cache fetches the value, looks at expire time, its good, and returns 
the "blob"


mod_http_cache returns headers and data to client.


Notice there is a pattern to this...
-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Mime
View raw message