Time for action – understanding interception caching
Interception caching is generally implemented by configuring a network device (router or switch) on our network perimeter to divert client requests to our Squid server. Other components that need to be configured include packet filtering software on the operating system running Squid, and finally Squid itself. First of all, let's see how the interception of requests occurs:
A client requests a web page
http://www.example.com/index.html
.First of all, the client needs to resolve the domain name to determine the IP address, so that it can connect to the remote server. Next, the client contacts the DNS server and resolves the domain name
www.example.com
to192.0.2.10
.Now, the client initiates a TCP connection to
192.0.2.10
on port 80.The connection request in the previous step is intercepted by the router/switch and is directed to the Squid proxy server instead of sending it directly to a remote server.
On the Squid proxy server, the packet...