[squid-users] ICP purging

From: Patai Sangbutsarakum <patai_at_ezboardcorp.com>
Date: Wed, 15 Apr 2009 11:44:00 -0700

Hi Squider,

Currently i have 4 squid servers running as reverse proxy for a slow
apache web server.
Also those 4 squid servers are running sibling among them through ICP.

this configuration was excerpted from one of the 4 sibling.

cache_peer 10.6.1.3 sibling 80 3130 proxy-only no-netdb-exchange
no-digest no-delay
cache_peer 10.6.1.5 sibling 80 3130 proxy-only no-netdb-exchange
no-digest no-delay
cache_peer 10.6.1.6 sibling 80 3130 proxy-only no-netdb-exchange
no-digest no-delay

Now, new requirement came from a development team.

"they want to be able to update obj in the original web server and make sure
that the old version of the updated obj will be flush from those 4
squid servers."

One way that i tried is using
squidclient -p80 -h squid1 -m PURGE http://me.avatar.meeee.com/
after they updated the obj in the original web server.
Unfortunately, doing soi have to run the command to all 4 squid servers
while there is only one server that has the obj.

Keep reading ICP spec I saw the opcode 14 - ICP_OP_PURGE
it sound like a clean way to let ICP notify each node to flush the obj
if it has.

I would like to ask if any version of Squid does implement this ICP operation?
and to accomplish the scenario i mentioned
what would Squid gurus would recommend.?

Truly hope this make sense.
Patrick
Received on Wed Apr 15 2009 - 18:44:03 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 12:00:01 MDT