Squid_ The Definitive Guide - Duane Wessels [3]
httpd_accel_uses_host_header
dns_testnames
logfile_rotate
append_domain
tcp_recv_bufsize
err_html_text
deny_info
memory_pools
memory_pools_limit
forwarded_for
log_icp_queries
icp_hit_stale
minimum_direct_hops
minimum_direct_rtt
cachemgr_passwd
store_avg_object_size
store_objects_per_bucket
client_db
netdb_low
netdb_high
netdb_ping_period
query_icmp
test_reachability
buffered_logs
reload_into_ims
always_direct
never_direct
header_access
header_replace
icon_directory
error_directory
maximum_single_addr_tries
snmp_port
snmp_access
snmp_incoming_address
snmp_outgoing_address
as_whois_server
wccp_router
wccp_version
wccp_incoming_address
wccp_outgoing_address
delay_pools
delay_class
delay_access
delay_parameters
delay_initial_bucket_level
incoming_icp_average
incoming_http_average
incoming_dns_average
min_icp_poll_cnt
min_dns_poll_cnt
min_http_poll_cnt
max_open_disk_fds
offline_mode
uri_whitespace
broken_posts
mcast_miss_addr
mcast_miss_ttl
mcast_miss_port
mcast_miss_encode_key
nonhierarchical_direct
prefer_direct
strip_query_terms
coredump_dir
ignore_unknown_nameservers
digest_generation
digest_bits_per_entry
digest_rebuild_period
digest_rewrite_period
digest_swapout_chunk_size
digest_rebuild_chunk_percentage
chroot
client_persistent_connections
server_persistent_connections
pipeline_prefetch
extension_methods
request_entities
high_response_time_warning
high_page_fault_warning
high_memory_warning
ie_refresh
vary_ignore_expire
sleep_after_fork
B. The Memory Cache
C. Delay Pools
C.1. Overview
C.2. Configuring Squid
C.2.1. delay_pools
C.2.2. delay_class
C.2.3. delay_parameters
C.2.4. delay_initial_bucket_level
C.2.5. delay_access
C.2.6. cache_peer no-delay Option
C.3. Examples
C.4. Issues
C.4.1. Fairness
C.4.2. Application Versus Transport Layer
C.4.3. Fixed Subnetting Scheme
C.5. Monitoring Delay Pools
D. Filesystem Performance Benchmarks
D.1. The Benchmark Environment
D.1.1. Hardware for Squid
D.1.2. Squid Version and Configuration
D.1.3. Web Polygraph Workload
D.2. General Comments
D.3. Linux
D.4. FreeBSD
D.5. OpenBSD
D.6. NetBSD
D.7. Solaris
D.8. Number of Disk Spindles
E. Squid on Windows
E.1. Cygwin
E.1.1. Installing Cygwin
E.1.2. The Squid Package
E.1.3. Compiling Squid
E.1.4. Configuring and Running
E.2. SquidNT
F. Configuring Squid Clients
F.1. Manually
F.1.1. Netscape/Mozilla
F.1.2. Explorer
F.1.3. Konqueror
F.1.4. Opera
F.1.5. Lynx
F.1.6. Environment Variables
F.2. Proxy Auto-Configuration
F.3. WPAD
F.4. Summary
Squid: The Definitive Guide
Duane Wessels
Editor
Tatiana Apandi
Copyright © 2009 O'Reilly Media, Inc.
O'Reilly Media
* * *
Dedication
To my darling Anne. You have no idea.
Preface
About This Book
I started the Squid project eight years ago while working at the National Laboratory for Applied Network Research and the University of California. Back then I certainly enjoyed writing code and fixing bugs but always felt bad about the lack of decent documentation. This book is my attempt to rectify that situation. It's been a long time coming and almost didn't happen. Like they say, "better late than never!"
This book is written for those who are tasked with setting up and maintaining one or more Squid caches. If you're new to Squid, I'll show you how to download, compile, and install the code. Those of you who have been using Squid for a while will be more interested in the later chapters, where I talk about disk cache performance, modifying requests, surrogate