RE: [squid-users] Invalidating of a resource cached with a POST request

From: <pgrisolano.ext_at_orange-ftgroup.com>
Date: Fri, 24 Apr 2009 17:32:10 +0200

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:mnot_at_yahoo-inc.com]
Envoyé : jeudi 23 avril 2009 00:07
À : zze-NSB GRISOLANO P ext RD-MAPS-GRE
Cc : squid-users_at_squid-cache.org
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, <pgrisolano.ext_at_orange-ftgroup.com> <pgrisolano.ext_at_orange-ftgroup.com
> 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       mnot_at_yahoo-inc.com
Received on Fri Apr 24 2009 - 15:32:23 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 12:00:03 MDT