Re: [squid-users] Optimum Child Proxy Settings in squid.conf

From: Mar Matthias Darin <BDarin@dont-contact.us>
Date: Thu, 06 Apr 2006 23:07:08 -0500

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

---
In Memory of Steelworker (Fabricator) Second Class Edward Cody Adams 
Let us not forget Steelworker (Fabricator) Second Class Edward Cody 
Adams, casualty of the Vietnam War. As a member of the Navy, SWF2 
Adams served our country until April 16th, 1968 in Quang Tri, South 
Vietnam. He was 23 years old and was not married. Edward died from 
artillery fire. His body was recovered. Edward was born on February 
20th, 1945 in Pennsboro, West Virginia. 
SWF2 Adams is on panel 50E, line 010 of the Vietnam Memorial Wall in 
Washington D.C. He served our country for 2 years. 
--- [ tanaya.net/Exim/Antiviral/CBBB20F7 ] ---
This message has been scanned with ClamScan, BitDefender,  H+BEDV
AntiVir, and F-PROT antivirus software and has been determined to
be VIRUS FREE.
Received on Thu Apr 06 2006 - 22:10:18 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT