exclude sites in squid

 

#1: To exclude your local domain sites / range from cache, use following

1
2
acl local_server dst 192.168.0.0/24 192.168.1.0/24
cache deny local_server

 

#2: If you are using SQUID proxy server and you don’t want to cache few sites , use the following directives,

1
2
acl hotmail dstdomain .hotmail.com
always_direct allow hotmail