[squid-users] caching problems

From: lorenor <lorenor.n8_at_gmx.de>
Date: Sun, 22 Feb 2009 14:30:59 +0100

Hi,

I'm trying to cache http://www.squid-cache.org, but I have problems with 3
files. I always get a miss.
http://www.squid-cache.org/Images/img4.jpg
http://www.squid-cache.org/default.css
http://www.squid-cache.org/favicon.ico
The first 2 don't have Cache-Control header.
Here my refresh_pattern:

refresh_pattern -i \.(swf|png|jpg|jpeg|bmp|tiff|gif|ico) 43200 100% 129600
override-expire override-lastmod ignore-reload reload-into-ims

refresh_pattern -i \.(doc|xls|ppt|ods|odt|odp|pdf|ps) 43200 100% 129600
override-expire override-lastmod ignore-reload reload-into-ims

refresh_pattern -i \.(mov|mpg|mpeg|flv|avi|mp3|3gp|sis|wma|3gp|mp4) 43200 100%
129600 override-expire override-lastmod ignore-reload reload-into-ims

refresh_pattern -i \.(zip|rar|ace|bz|bz2|tar|gz|exe|rpm|deb|bin|cab|7z) 43200
100% 129600 override-expire override-lastmod ignore-reload reload-into-ims

refresh_pattern -i (.*html$|.*htm|.*shtml|.*aspx|.*asp|.*php) 43200 100% 4320
override-expire override-lastmod ignore-reload reload-into-ims

refresh_pattern ^ftp: 129600 100% 259200 reload-into-ims override-expire
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0

refresh_pattern . 0 20% 4320

The goal is to cache everything regardless of the Cache-Control header from the
server.
Received on Sun Feb 22 2009 - 13:36:48 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 22 2009 - 12:00:01 MST