httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [PATCH] mod_cache fixes: #8
Date Mon, 02 Aug 2004 21:08:41 GMT
Brian Akins wrote:

>> On one hand, I think doing MD5 is sort of silly - just use the URL 
>> itself.  *shrug*  -- justin

One of the goals of the new mod_cache was to support the caching of URL 
variants.

> I actually have somewhat of a solution:
> 
> URL encode the uri and any vary elements:
> www.cnn.com/index.html?this=that
> Accept-Encoding: gzip
> Cookie: Special=SomeValue
> 
> may become:
> 
> www.cnn.com%2Findex.html%3Fthis%3Dthat+Accept-Encoding%3A+gzip+Cookie%3A+Special%3DSomeValue


Cookies can be up to 4kb in size - it might run into limitations on 
filename and pathname lengths.

Regards,
Graham
--

Mime
View raw message