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

From: Mark Nottingham <mnot_at_yahoo-inc.com>
Date: Thu, 23 Apr 2009 08:07:23 +1000

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 Wed Apr 22 2009 - 22:08:06 MDT

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