cache_mem 10 MB
cache_swap_high 95
cache_swap_low 90
!192.168.125.0/255.255.255.0!83.14.5.226
dns_nameservers 194.204.159.1
dns_nameservers 194.204.152.34
dns_nameservers 213.241.5.3
dns_nameservers 195.116.217.32
dns_nameservers 217.17.34.10
dns_nameservers 212.191.132.126
dns_nameservers 193.110.121.20
dns_nameservers 193.110.120.5
# Wielko¶ć cache. Wcze¶niej utwórz cache komend±: /usr/sbin/squid -z
cache_dir ufs /var/cache/squid 1024 8 16
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.jpg 43200 100% 43200 reload-into-ims
refresh_pattern -i \.gif 43200 100% 43200 reload-into-ims
refresh_pattern -i \.tif 43200 100% 43200 reload-into-ims
refresh_pattern -i \.bmp 43200 100% 43200 reload-into-ims
refresh_pattern -i \.png 43200 100% 43200 reload-into-ims
refresh_pattern windowsupdate.com/.*\.(cab|exe) 43200 100% 43200 reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe) 43200 100% 43200 reload-into-ims
#refresh_pattern (
http://.*/$) 0 20% 1440
refresh_pattern . 20160 50% 43200
#store_avg_object_size 14 KB
maximum_object_size 10 MB
maximum_object_size_in_memory 50 KB
cache_mgr admin
cachemgr_passwd 52ferex all
positive_dns_ttl 72 hour
1.Jak masz 256 MB ram'u to w granicach 16-32 MB powinno być bezpieczne. Oczywiście wszystko zależy jeszcze od pozostałych usług uruchomionych na NND.
2. Nie potrzeba tyle DNS'ów. Dwa wystarczą.
3. Zmniejsz z 1GB na 256MB cache na dysku.
4. Takie refresh pattern będzie skutkowało pobieraniem z cahce stron sprzed kilku dni. Do zmiany!
5.
6. 72 godziny to za dużó. Najlepiej wyłącz całkiem tą opcję.