acl sharing_server dst 10.0.0.1
acl NO-CACHE-SITES dstdomain "/etc/squid/not-to-cache-sites.txt"
no_cache deny NO-CACHE-SITES
cache deny sharing_server
touch /etc/squid/not-to-cache-sites.txt
nano /etc/squid/not-to-cache-sites.txt
# create custom template dirmkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf/cd /etc/e-smith/templates-custom/etc/squid/squid.conf/# create custom template fragmentecho 'acl NO-CACHE-SITES dstdomain "/etc/squid/not-to-cache-sites.txt"no_cache deny NO-CACHE-SITES' > 35no-cache-sites# create list of domains not to be cachedecho 'google.comyahoo.com' > /etc/squid/not-to-cache-sites.txt# update squid configexpand-template /etc/squid/squid.conf# restart squidsv t squid