Hi, all:
I set my squid on an accelerator, and my origin server is apache 1.3.
my httpd.conf include the following lines:
Quote:
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
</IfModule>
|
but I wanna the two site pictures' cache only 5 mintues than others cache is one week, so my squid include:
Quote:
refresh_pattern -i img2\.xxxx\.com 5 0% 0 ignore-reload override-lastmod
refresh_pattern -i img3\.xxxx\.com 5 0% 0 ignore-reload override-lastmod
|
but failed!
my cache.log:
Quote:
2006/04/11 16:07:01| refreshCheck: 'http://img3.wangyou.com/20060404155707105_111.jpg'
2006/04/11 16:07:01| FRESH: expires 1145347750 >= check_time 1144742821
2006/04/11 16:07:01| Staleness = -1
2006/04/11 16:07:01| refreshCheck: Matched '\.jpg 0 0% 0'
2006/04/11 16:07:01| refreshCheck: age = 120
2006/04/11 16:07:01| check_time: Tue, 11 Apr 2006 08:07:01 GMT
2006/04/11 16:07:01| entry->timestamp: Tue, 11 Apr 2006 08:05:01 GMT
2006/04/11 16:07:01| refreshCheck: MAYBE: ignore-reload
|
Can anyone tell me why the override-lastmod is not effect?
thx very much.