Search squid archive

Re: Only 23% of traf is cached. Config problem?

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

 



* Andrei <funactivities@xxxxxxxxx>:
> >> refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
> >> refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320
> > Is this the default?
> 
> I think that's custom but I'm not sure. Would you recommend changing it and why?

I think it's not the default. I personally try to keep the defaults
Squid-3.2 has these defaults for refresh_pattern

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320
 
> > cache_dir aufs /var/spool/squid3 7000 16 256
> > is better. Can you increa the cache size?
> 
> How does this look?
> cache_dir aufs /var/spool/squid3 10000 16 256

Bigger :)

-- 
Ralf Hildebrandt
  GeschÃftsbereich IT | Abteilung Netzwerk
  Charità - UniversitÃtsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@xxxxxxxxxx | http://www.charite.de
	    


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

  Powered by Linux