February 2011
Intermediate to advanced
332 pages
9h 3m
English
If we don't want to cache responses for certain requests or clients, we can deny it using this option. The default behavior is to allow all cacheable responses to be cached. As servers in our local area network are close enough that we may not want to waste cache space on our proxy server by caching responses from these servers, we can selectively deny caching for responses from local servers.
acl local_machines dst 192.0.2.0/24 198.51.100.0/24 cache deny local_machines
This code will prevent responses from the servers in the networks 192.0.2.0/24 and 198.51.100.0/24 from being cached by the proxy server.
To optimize the performance (especially the HIT ratio), we have ...
Read now
Unlock full access