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

Reply via email to