Search squid archive

Re: Optimum Child Proxy Settings in squid.conf

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

 



Hello,

Bob Morrison writes:

Some settings I’m already using are
            cache_peer (FQDN for the parent proxy pair) AUFS 8000 16 256
(cache dir)
            acl mynetwork src 10.0.0.0/8
            always_direct allow mynetwork
            never_direct allow !mynetwork

I use the following on my setup:

half_closed_clients off
strip_query_terms off
quick_abort_min -1 KB
forwarded_for off
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
pipeline_prefetch on

# Cache Size

cache_mem 4 MB
maximum_object_size_in_memory 256 KB
maximum_object_size 1024 MB
cache_swap_high 100%
cache_swap_low 80%

cache_dir aufs /tmp/squid/cache-1 8192MB 256 256


I also have refresh rules set to the follow (use with caution and TEST
thoroughy):

refresh_pattern -i \.alltheweb\.com/search               10080  100%   43200
ignore-reload override-lastmod override-expire

refresh_pattern -i \.search\.vip\.scd\.yahoo\.com/image/ 10080  100%   43200
ignore-reload override-lastmod override-expire

refresh_pattern -i \.(au|mpg|mpeg|mp3|avi|mid|wav)$      10080  100%   43200
ignore-reload override-lastmod override-expire

refresh_pattern -i \.(tif|tiff|bmp|png|gif|jpg|jpeg)$    10080  100%   43200
ignore-reload override-lastmod override-expire

refresh_pattern -i \.(jpe|swf|pdf|mov|sit|tar)$          10080  100%   43200
ignore-reload override-lastmod override-expire

refresh_pattern -i \.(exe|arj|gz|Z|zip|bz2|tgz|rar)$     10080  100%   43200
ignore-reload override-lastmod override-expire

refresh_pattern    .                                       240  100%    4320
reload-into-ims override-expire

Attachment: pgpDjGkR1tvWm.pgp
Description: PGP signature


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

  Powered by Linux