[squid-users] refresh_pattern

From: José Pedro <zezepedro@dont-contact.us>
Date: Tue, 23 Nov 2004 18:26:10 +0000

Hi everyone!

I'm running SQUID_2.5_STABLE7 on Slackware 10
 
I was finding my way through Disk Cache Basics when I decided to test
and understand the "refresh_pattern" directive.
My purpose is to see a web page that doesn't send an Expire header
being handled by this directive.
To acomplish that I used a web page located in one of my LAN machines,
wich I'm pretty sure doesn't send that type of header.
 
This is the instruction I used:
 
refresh_pattern ^http: 50 25% 1440 override-expire
 
As far I could understand, the line above should tell SQUID that any
web page will be fresh for the next 50 minutes (wich implies a cach
hit). After that the LM-factor will be used, etc. etc... So far
sogood.

The problem:
 
1) I cached the web page for the first time, using the browser;
2) Then I made a change on the web page;
3) PROBLEM: I opened again the page on my browser, and the changes
were there. (I wasn't expecting any because of the refresh pattern I
used - it should have benn a cache hit!)

The rest of my squid.conf file is pretty much untouchtable from the original
 
I understand SQUID checks the site timestamp before sending a
response. Does this overrides the refresh_pattern?
 
Am I seeing this rigth?
 
Can someone give me an hint on this one?
 
Thanks everyone!
Received on Tue Nov 23 2004 - 11:26:16 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST