Search squid archive

Optimizing Squid

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

 



Hi,

I have a small network with 3 computers (WinXP, Ubuntu, Win7).
Is the configuration correct or do I have to improve something?

Squid: 3.0.STABLE19
Server: Ubuntu 10.04 LTS, PIV 3,4Ghz, 2GB

TIA, Flo

http_port 192.168.2.253:3128

icp_port 0
htcp_port 0

# cache_access_log /var/log/squid3/access.log

dns_nameservers 192.168.2.253

cache_mem 1024 MB

maximum_object_size 1 GB
maximum_object_size_in_memory 64 KB

cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

cache_dir aufs /Squid 16384 64 512

quick_abort_min -1 KB
quick_abort_max -1 KB
quick_abort_pct 100

pipeline_prefetch on
half_closed_clients off

refresh_pattern -i \.index.(html|htm)$ 						0 	40% 	10080
refresh_pattern -i \.(html|htm|css|js)$ 					1440 	40% 	40320

refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 					1440	40% 	43200
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 1440 40% 43200 refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 1440 40% 43200

refresh_pattern ^ftp:           						1440    20%     10080
refresh_pattern ^gopher:        						1440    0%      1440

refresh_pattern -i (/cgi-bin/|\?)    						0       0%      0
refresh_pattern . 								0 	40% 	40320

coredump_dir /var/spool/squid3

redirect_children 20
url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf

hierarchy_stoplist cgi-bin ?

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 192.168.0.0/16

http_access allow localnet
http_access allow localhost

http_access allow manager localhost
http_access allow manager localnet
http_access deny manager

http_access deny all





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

  Powered by Linux