Summary
We have learned a lot in this chapter about configuring Squid. After this chapter, we should feel more comfortable in dealing with the Squid configuration file. We should be able to apply the things we learnt in this chapter to fine tune Squid to achieve better performance.
Although we learned about a lot of configuration directives, we specifically covered:
The syntax of the configuration file. We learned about various types of directives generally used in the configuration file and the possible types of values that they take.
Caching in the main memory and hard disk in detail. We learned about using RAM and disks for caching in an optimized manner to achieve higher HIT ratio.
Fine tuning the cache. We learned about achieving a better HIT ratio by tinkering with various HTTP headers.
The required DNS configuration for Squid. We learned about specifying DNS servers and optimizing the DNS cache to reduce latency.
We also discussed restricting access to the Squid server, modifying HTTP headers...