W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

querystring part of cache key

From: Adrien de Croy <adrien@qbik.com>
Date: Fri, 22 May 2009 14:17:30 +1200
Message-ID: <4A160B3A.1010102@qbik.com>
To: HTTP Working Group <ietf-http-wg@w3.org>

there were discussions recently about the method being part of the cache 
key, since the response for different methods on the same URI could 
presumably be cacheable and different.

What about query string?  If the result to something that has a 
querystring is marked as cachable by the origin server, then is it 
deemed part of the URI for the cache key?  I'd presume yes.

Since URIs can be arbitrarily long, yet database fields aren't good with 
this, I'd presume it's common practise to look up based on some hash 
value.  Is this approach used?  Is there any industry-standard hashing 
method, e.g. MD5 of method+URI(normalised) + querystring ?



Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
Received on Friday, 22 May 2009 02:14:53 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC