Child caches do not cache parent cache output? (bug?)

From: Jordan Mendelson <jordy@dont-contact.us>
Date: Sat, 28 Nov 1998 15:31:48 -0500

Hello All,

I setup a few refresh rules because certain places I have determined to have
no expires tags were eating away the majority of our hitrate... so I added a
few rules:

refresh_pattern . 0 20% 4320
refresh_pattern ^http://www.56k.com/ 3600 20% 4300
refresh_pattern ^http://slashdot.wolfe.net/ 3600 20% 4300

However when I get a particular object which matches the last rule, it seems
to always get it from the parent cache.. which is not an efficient way of
conserving bandwidth.

912284668.942 578 24.40.14.7 TCP_MISS/304 370 GET
http://slashdot.wolfe.net/images/topics/topicnews.gif -
CACHE_DIGEST_HIT/rtp.cache.nlanr.net -

and after shift-reload in Netscape:

912284941.737 778 24.40.14.7 TCP_MISS/304 370 GET
http://slashdot.wolfe.net/images/topics/topicnews.gif -
CACHE_DIGEST_HIT/rtp.cache.nlanr.net

As far as I can tell, my cache isn't caching things it retrieves from the
parent cache. I've tested this with other objects which match the
CACHE_DIGEST:

912285066.243 340 24.40.14.7 TCP_MISS/200 2562 GET
http://gs.cdnow.com/RP/GENRE/graphics/cdnow.logo.gif -
CACHE_DIGEST_HIT/rtp.cache.nlanr.net image/gif

then shift-reload in Netscape:

912285066.505 207 24.40.14.7 TCP_MISS/200 2562 GET
http://gs.cdnow.com/RP/GENRE/graphics/cdnow.logo.gif -
CACHE_DIGEST_HIT/rtp.cache.nlanr.net image/gif

rtp.cache.nlanr.net is setup as a parent cache and is the only NLANR cache
we connect to.

This is Squid 2.1PATCH1 running under Linux 2.1.125. My browser was
configured to connect to the proxy (not transparent proxying for these
things).

Jordan

--
Jordan Mendelson     : http://jordy.wserv.com
Web Services, Inc.   : http://www.wserv.com
Received on Sat Nov 28 1998 - 13:21:00 MST

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