Squid_ The Definitive Guide - Duane Wessels [6]
What is cachable
HTTP has a number of somewhat complicated rules for determining what may, or may not be, cached, and for how long. Refer to Web Caching, or HTTP: The Definitive Guide (for more information, see the next section).
Copyright
A number of nontechnical issues surround web caching. These include copyrights and privacy.
Modifying the source
I don't go into detail about Squid's source code in this book. The Squid project hosts a programmers' guide, which is generally incomplete and out of date. If you have questions about the source code, please join the squid-dev mailing list.
SOCKS
Squid doesn't support the SOCKS protocol at this time.
Recommended Reading
While reading this book, you may want to consult some of these other resources for more information (I'll refer to them throughout this book):
The Design and Implementation of the 4.4 BSD Operating System by Marshall Kirk McKusick, Kieth Bostic, Michael J. Karels, and John S. Quarterman (Addison-Wesley Longman)
DNS and BIND by Paul Albitz and Cricket Liu (O'Reilly & Associates)
HTTP: The Definitive Guide by David Gourley and Brian Totty (O'Reilly)
Load Balancing Servers, Firewalls, and Caches by Chandra Koopurapu (John Wiley & Sons)
Mastering Regular Expressions by Jeffrey E. F. Friedl (O'Reilly)
Server Load Balancing by Tony Bourke (O'Reilly)
Unix System Administration Handbook and Linux System Administration Handbook by Evi Nemeth, Garth Snyder, Scott Seebass, and Trent R. Hein (Prentice Hall)
My book, Web Caching (O'Reilly)
RFC 1413: Identification Protocol
RFC 1738: Uniform Resource Locators (URL)
RFC 2186: Internet Cache Protocol (ICP), Version 2
RFC 2187: Application of Internet Cache Protocol (ICP), Version 2
RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax
RFC 2616: Hypertext Transfer Protocol—HTTP/1.1
RFC 2617: HTTP Authentication: Basic and Digest Access Authentication
RFC 2756: Hypertext Caching Protocol
RFC 2817: Upgrading to TLS Within HTTP/1.1
RFC 3040: Internet Web Replication and Caching Taxonomy
RFC 3143: Known HTTP Proxy/Caching Problems
Caching-related web sites, such as http://www.caching.com/ and http://www.web-cache.com/
Conventions Used in This Book
I use the following typesetting conventions in this book:
Italic
Used for new terms where they are defined, buttons, pages, configuration file directives, filenames, modules, ACLs, directories, and URI/URLs
Constant width
Used for configuration file examples, program output, HTTP header names and directives, scripts, options, environment variables, functions, methods, rules, keywords, libraries, and command names
Constant width italic
Used for replaceable text within examples and code pieces
Constant width bold
Used to indicate commands to be typed verbatim
When displaying a Unix command, I'll include a shell prompt, like this:
% ls -l
If the command is specific to the Bourne shell (sh) or C shell (csh), the prompt will indicate which you should use:
sh$ ulimit -a
csh% limits
If the command requires super-user privileges, the shell prompt is a hash mark:
# make install
Occasionally, I provide configuration file examples with long lines. If the line is too wide to fit on the page, it's wrapped around and indented. Squid doesn't accept this sort of syntax, so you must make sure to place everything on one line.
* * *
Tip
This icon signifies a tip, suggestion, or general note.
* * *
* * *
Warning
This icon indicates a warning or caution.
* * *
Comments and Questions
Please address comments and questions concerning this book to the publisher:
O'Reilly & Associates, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(800) 998-9938 (in the United States or Canada)
(707) 829-0515 (international or local)
(707) 829-0104 (fax)
There is a web page for this book, which lists errata, examples, and any additional information. You can access this page at:
http://www.oreilly.com/catalog/squid