Returning stale objects to neighbours?

From: Ernest Yik <ERNEST@dont-contact.us>
Date: Fri, 15 Nov 1996 16:02:00 +0000 (HKT)

Hello Squid users,

I'm using squid 1.1b19 in two machines (Linux 2.0.23). They are neighbours
of each other. Call them squid1 and squid2. There is a stale copy of the
object index2.html in squid1. When I access squid2 for this object, squid2
will ask squid1 for it and get a UDP_HIT_OBJ, which is a stale copy (with a
Last-Modified header of 10 days ago). When I access squid1 for the object
directly, it will TCP_REFRESH_MISS and fetch a fresh copy from the parent.
 The two squids use the same refresh_pattern in squid.conf. Any ideas?
 Thanks.

[cache.log]
848043225.216 57 squid2.foo.bar UDP_HIT_OBJ/000 8446
ICP_QUERY http://www.singtao.com/index2.html - NONE/-

848043401.370 535 webclient.foo.bar TCP_REFRESH_MISS/200 8189
GET http://www.singtao.com/index2.html - FIRST_PARENT_MISS/parent.foo.bar

[squid.conf]
refresh_pattern /$ 180 10% 4320
refresh_pattern \.(html|htm)$ 360 15% 7200
refresh_pattern ^http:// 1440 20% 21600
refresh_pattern ^ftp:// 7200 50% 21600
#Default
refresh_pattern . 0 20% 21600

Regards,
Ernest Yik.
Received on Fri Nov 15 1996 - 00:03:15 MST

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