How can I configure squid such that it never cache some web sites?

Updated -

Add the following line in /etc/squid/squid.conf:

acl NOCACHEDOMAIN dstdomain www.redhat.com
no_cache deny NOCACHEDOMAIN

It will not cache any content come from the domain www.redhat.com.

In /var/log/squid/access.log, it will show the page from that domain will always get "TCP_MISS" on consecutive visits.

1197363963....

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.