Re: How to expire an object?

From: Eloy A. Paris <eparis@dont-contact.us>
Date: Wed, 16 Jul 1997 18:56:04 -0400 (VET)

Hi,

yup, your recommendation worked at the first try. Thanks.

I am not trying you patch yet as we are still in 1.1.10. I am waiting for
more stability in newer version.

E.-

> You can purge the object. Telnet to your Squid port and do:
>
> PURGE url_of_object HTTP/1.0
>
> Make sure Squid is configured to allow purging, for example in squid.conf
>
> acl purge method PURGE
> ...
> http_access allow xxx purge
>
> xxx being an acl for hosts from which purges will be allowed.
>
> Much more convenient is using cachemgr.cgi, I am including a patch which will
> allow purging of object. (Just a quick hack, I made REMOVE as similar
> REFRESH as needed ;-) )
> The patch is from Squid 1.1.11 (since cachemgr.c is the same in 1.1.11 and
> 1.1.14 there should be no problems using 1.1.14).

-- 
Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9430323
Received on Wed Jul 16 1997 - 15:57:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:46 MST