Hi,
I tested the behaviour of squid 1.1.1 with different refresh pattern.
With a lm-factor 0% it doesn't seem to work as expected.
I would expect a refresh if age > min but I see a refresh if
age > max.
I made a test with the following refresh patterns:
refresh_pattern/i \.segeln\.ch.*$ 5 0% 20
refresh_pattern ^http:// 30 20% 43200
refresh_pattern ^ftp://.*/$ 30 20% 10080
refresh_pattern ^ftp:// 30 50% 43200
refresh_pattern ^gopher:// 30 50% 43200
refresh_pattern . 30 50% 43200
First I made a reload of http://www.segeln.ch/ :
851064055.084 951 130.59.4.25 TCP_CLIENT_REFRESH/200 10228 GET
http://www.segeln.ch/ - PARENT_HIT/etna-all.swit
ch.ch text/html
Then I made an access (with empty browser cache) after 2 and then every
5 minutes:
851064174.601 233 130.59.4.25 TCP_HIT/200 10228 GET http://www.segeln.ch/ -
NONE/- text/html
851064474.606 223 130.59.4.25 TCP_HIT/200 10228 GET http://www.segeln.ch/ -
NONE/- text/html
851064774.792 233 130.59.4.25 TCP_HIT/200 10228 GET http://www.segeln.ch/ -
NONE/- text/html
851065078.327 233 130.59.4.25 TCP_HIT/200 10228 GET http://www.segeln.ch/ -
NONE/- text/html
851065375.177 898 130.59.4.25 TCP_REFRESH_MISS/200 10228 GET
http://www.segeln.ch/ - PARENT_HIT/etna-all.switch
.ch text/html
After 22 minutes finally there was a REFRESH.
Why there wasn't a refresh after 5 minutes?
Do anybody know an explanation for this?
Ernst
(I tested a proxy connected to parent but this shouldn't be a
reason for this strange behavior of the child proxy.)
----------------- SWITCH Swiss Academic & Research Networks ------------------
Ernst Heiri Voice: +41 1 268 1540 (direct: 1543)
SWITCH Head Office Fax : +41 1 268 1568
Limmatquai 138 Mail : heiri@switch.ch
CH-8001 Zurich, Switzerland Mail : S=heiri;O=switch;P=switch;A=400net;C=ch;
Received on Fri Dec 20 1996 - 00:16:46 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:56 MST