Time for action – joining a cache hierarchy

Let's add two proxy servers to our Squid configuration file:

cache_peer parent.example.com parent 3128 3130 default
cache_peer sib.example.com sibling 3128 3130 proxy-only

So, according to this configuration, parent.example.com is a parent proxy server and sib.example.com is a sibling proxy server.

What just happened?

We just learned how to add a proxy server or neighbors to our Squid configuration file, so that our proxy server can be a part of a cache hierarchy.

Now, let's have a look at the options which can be used to control ICP or HTCP communication.

ICP options

When we configure a peer with ICP communication, we must configure the icp_port and icp_access directives properly. Next, we'll have a look ...

Get Squid Proxy Server 3.1 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.