question on purge

From: Doug Fairclough <kensey@dont-contact.us>
Date: Mon, 29 Sep 1997 09:16:37 -0700 (PDT)

in the FAQ in section 7.5 it describes how to purge on object from the
squid internet cache :

   A purge feature was added to Squid-1.1.6. It only allowed you to purge
   HTTP objects until Squid-1.1.11. Squid
   does not allow you to purge objects unless it is configured with access
   controls in squid.conf. First you must
   add something like

        acl PURGE method purge
        acl localhost src 127.0.0.1
        http_access allow purge localhost
        http_access deny purge

does this imply that this functionality was removed after Squid-1.1.11 ?

assuming this is _not_ so, the faq goes on to state that purging is done
using the client program, as in :

        client -m PURGE http://www.miscreant.com/

is anyone doing this ? i need a recommendation on how to do this from an
environment where cgi scripts running off the web server make the decision
as to when this needs to be done. it appears i could simply fork a
process that accepts a parameter url and then simply fires off this
command.

i am using squid in accelerator mode.

TIA ! any help in understanding how to use this feature would be
greatly appreciated !

doug
Received on Mon Sep 29 1997 - 09:36:37 MDT

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