Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-11-2006, 06:04 AM   #1
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Rep: Reputation: 15
Question why the override-expire option is not effect ?

Hi, all:

I set my squid on an accelerator, and my origin server is apache 1.3.

my httpd.conf include the following lines:
<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"
but I wanna the two site pictures' cache only 5 mintues than others cache is one week, so my squid include:
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:
2006/04/11 16:07:01| refreshCheck: ''
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
expire date in useradd ALInux Linux - Security 2 11-08-2005 09:30 AM
how expire password automatically manudath Linux - Security 2 04-27-2005 01:38 AM
samba password expire Peds222 Linux - Newbie 1 03-12-2005 05:34 PM
cookies expire much too quickly? mikshaw LQ Suggestions & Feedback 3 06-07-2004 02:08 PM
Samba -> Expire password Tiago Cruz Linux - Networking 6 03-05-2003 08:21 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration