Search squid archive

caching problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux