On ons, 2008-06-25 at 10:32 +1000, Mark Nottingham wrote: > Question: why is the request method used as input to the storeKey?
> What am I missing? The history of Squid, and in addition the negative cache of error responses. Caching of POST results (positive) should be done so that the the result is cached as if the method was GET, when allowed. HEAD also should be special-cased more than it already is, but it's a bit dangerous to use it for updating cached headers as there is numerous servers sending bad response headers in response to HEAD.. The main reason why HEAD is still a bit separate from GET is that we still can not cache partial responses. A HEAD response is a extreme case of a partial response with 0 octets of the response body.. But the intention is that there should only be a HEAD entry in the cache if there is no valid GET entry. Regards Henrik
signature.asc
Description: This is a digitally signed message part
