Hello,

Thank for you response,
I have look the link but i don't see the POST request, could you confirm (or 
not) that POST request can invalidate a resource ?

Thank,
Philippe

-----Message d'origine-----
De : Mark Nottingham [mailto:[email protected]] 
Envoyé : jeudi 23 avril 2009 00:07
À : zze-NSB GRISOLANO P ext RD-MAPS-GRE
Cc : [email protected]
Objet : Re: [squid-users] Invalidating of a resource cached with a POST request

Squid2-HEAD does this. See:
   http://www.squid-cache.org/Versions/v2/HEAD/changesets/12355.patch
(be aware that that has dependencies on several other changesets on
HEAD)

Cheers,



On 23/04/2009, at 1:42 AM, <[email protected]> 
<[email protected]
 > wrote:

> Hello,
>
> I would like to know if with SQUID it is possible to disable a 
> resource via a POST, PUT or DELETE request on a resource caching via a 
> GET (same
> URI)
>
> Here is an example of what I would do:
> * A client sends a GET request on a page ex : / mapage1
> * The response is cached by the proxy SQUID
> * The site manager send a POST request  to modify this resource, the 
> resource is remove from the SQUID cache
>
> HTTP 1.1 theoretically it is possible to do this (RFC 2616 sec 13-10), 
> but from my research SQUID does not implement this recommendation (For 
> the POST request, it's ok for PUT and DELETE request).
>
> (I used the 2.6 version of SQUID)
>
> thank you for your help
> Philippe

--
Mark Nottingham       [email protected]


Reply via email to