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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 29 Nov 1998 04:51:56 +0100

Jordan Mendelson wrote:

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

The last two lines is never used. "." matches everything and the search
is terminated. Move the "." refresh pattern to last in your list and
things should work better.

Rule of thumb: Most specific patterns should be first in the list.

Checking refresh patterns by pushing reload is not a very good approach.
Reload forces Squid to ignore any previously cached object... Instead
use the client command delivered with Squid, or any other HTTP client
without a local cache.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Nov 28 1998 - 20:39:36 MST

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