Search squid archive

Re: [squid-users] caching too good?

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

 



* Reuben Farrelly <reuben-squid-users@xxxxxxxx>:

> Ralf: the defaults as shipped in squid.conf is to have these uncommented:

That is refresh_pattern not refresh_patternS with an S at the end...

% grep -i refresh_pattern /etc/squid/squid.conf

#  TAG: refresh_pattern
#       usage: refresh_pattern [-i] regex min percent max [options]
#       The refresh_pattern lines are checked in the order listed here.
# refresh_pattern ^ftp:         1440    20%     10080
# refresh_pattern ^gopher:      1440    0%      1440
# refresh_pattern .             0       20%     4320
refresh_pattern  -i       \.gif$          600   50% 40320
refresh_pattern  -i       \.jpe?g$        600   50% 40320
refresh_pattern  -i       \.tif?f$        600   50% 40320
refresh_pattern  -i       \.png$          600   50% 40320
refresh_pattern  -i       \.mov$          600   50% 40320
refresh_pattern  -i       \.qt$           600   50% 40320
refresh_pattern  -i       \.avi$          600   50% 40320
refresh_pattern  -i       \.mpe?g$        600   50% 40320
refresh_pattern  -i       \.wav$          600   50% 40320
refresh_pattern  -i       \.au$           600   50% 40320
refresh_pattern  -i       \.aif?f$        600   50% 40320
refresh_pattern  -i       \.ps$           360   30% 40320
refresh_pattern  -i       \.pdf$          360   30% 40320
refresh_pattern  -i       \.gz$           360   30% 40320
refresh_pattern  -i       \.Z$            360   30% 40320
refresh_pattern  -i       \.zip$          360   30% 40320
refresh_pattern         .               180   30% 20160
#       see also refresh_pattern for a more selective approach.


I guess this changes things?

> refresh_pattern ^ftp:           1440    20%     10080
> refresh_pattern ^gopher:        1440    0%      1440
> refresh_pattern .               0       20%     4320
> 
> Try putting them in, and see if it makes any difference.

-- 
Ralf Hildebrandt (i.A. des IT-Zentrum)          Ralf.Hildebrandt@xxxxxxxxxx
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to spamtrap@xxxxxxxxxx

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

  Powered by Linux