![]() This code will direct Squid to use as a proxy server to satisfy client requests in case it’s not able to do so itself. ![]() If the other proxy server is not using the standard ICP port, we should change the code accordingly. ![]() Let’s add a proxy server ( ) that will act as a parent proxy to our proxy server: cache_peer parent 3128 3130 default proxy-onlyģ130 is the standard ICP port. The other proxy servers can be used as a parent, sibling, or a member of a multicast group. TYPE specifies the type of the proxy server, which in turn, determines how that proxy server will be used by our proxy server. In this code, HOSTNAME_OR_IP_ADDRESS is the hostname or IP address of the target proxy server or cache peer. Let’s have a quick look at the syntax for this directive: cache_peer HOSTNAME_OR_IP_ADDRESS TYPE PROXY_PORT ICP_PORT The directive cache_peer is used to tell Squid about proxy servers in our neighborhood. Let’s have a brief look at the directives provided by Squid for communication among different cache peers. The proxy servers can use each other’s cache to retrieve the cached web documents locally to improve performance. We normally deploy more than one proxy server in the same network to share the load of a single server for better performance.
0 Comments
Leave a Reply. |