Re: squid-users-digest Digest V99 #447

From: John Dilley <john_dilley@dont-contact.us>
Date: Fri, 26 Nov 1999 11:00:01 -0800 (PST)

Naimi,

Do you have a refresh_pattern in squid.conf that has the regexp "abc"?
Looks like you have one that is matching, which specifies a min and max
of 3 days and pct of 20. In this case the pct is not used since min=max
but otherwise it would be the fraction of the object age before an IMS
(refresh) check is made. Check out refresh_pattern lines in your
squid.conf. And be careful! Now you know what they can do!

Note: I do not recommend a large value for min. If you want something
to get old before it is rechecked increase pct and max. The adaptive
TTL mechanism will wait a longer time before checking old objects, but
will check younger objects more frequently. You can make max days to
weeks and pct 50; if an object was just modified an hour ago it will be
checked again in half an hour -- or in min seconds if min > 300 for
that object type. But if the object is a year old GIF it will not be
checked for six months (or max if max < 6*30*24*3600...)

Hope that helps. Abused refresh_patterns are a pet peeve of mine :)

    ================

From: "naimi"<naimi@afranet.com>
To: <squid-users@ircache.net>
Subject: refresh problem

Hi all,
We have problems with the way squid refresh objects. I turned on debug
level 22
and I got some strange messages. For example:
1999/11/26 11:06:52| refreshCheck(HTTP): 'http://www.abc.com/'
1999/11/26 11:06:52| refreshCheck: Matched 'abc 10800 20% 10800'
1999/11/26 11:06:52| refreshCheck: age = 252895
1999/11/26 11:06:52| check_time: Fri, 26 Nov 1999 07:36:52 GMT
1999/11/26 11:06:52| entry->timestamp: Tue, 23 Nov 1999 09:21:57
GMT
1999/11/26 11:06:52| refreshCheck: YES: age > max
As you see www.abc.com objects are 3 days old. But what we see at our
browsers
is the 3 days old page! it hasn't been refreshed. The problem persisits
until we

=====
-- jad --
John_Dilley
@ yahoo.com
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Received on Fri Nov 26 1999 - 12:09:58 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT