[squid-users] no_cache squid.conf parameter

From: Pali Singh <psingh@dont-contact.us>
Date: Tue, 8 Apr 2003 10:30:12 +0100

Guys
I am experimenting with the no_cache parameter.

This is what I have in squid.conf:

acl QUERY urlpath_regex cgi-bin \?
acl QUERY url_regex http://whatis.techtarget.com/
no_cache deny QUERY

This should deny any cacheable objects from whatis.com and any URLs with
cgi-bin in its pathname (for example)

How can I check this works?

I am using:

find . -exec grep -l "http://whatis.techtarget.com/" {} \; 2> /dev/null
in the cache directory to see what is actually cached.

The results appear to be the same before and after the squid changes.
(The squid cache was cleaned after the first run, btw)

Oh, and is there any easy way to clean the cache when I'm testing
instead of reformatting the cache partition or recompiling squid.

Best Regards
Pali

-----Original Message-----
From: squid-users-digest-help@squid-cache.org
[mailto:squid-users-digest-help@squid-cache.org]
Sent: 08 April 2003 09:46
To: squid-users@squid-cache.org
Subject: squid-users Digest 8 Apr 2003 08:45:43 -0000 Issue 995

squid-users Digest 8 Apr 2003 08:45:43 -0000 Issue 995

Topics (messages 28075 through 28104):

Re: CPU consumption
        28075 by: Sander Winkel
        28076 by: Sander Winkel
        28086 by: Henrik Nordstrom
        28099 by: Henrik Nordstrom

Re: Auth problems.
        28077 by: Igor Luiz Oliveira de Souza

Need squid to rewrite mail.domain.com to webmail.domain.com HOW?
        28078 by: Apollo (Carmel Entertainment)

Re: Access Denied error?
        28079 by: Ryan_James.emc.com
        28080 by: Frederico Madeira
        28083 by: Ryan_James.emc.com
        28088 by: Henrik Nordstrom

I need a porn list
        28081 by: Marcos Julian Gutierrez
        28082 by: Chris Knipe

acl and cache_peer_access problem
        28084 by: boka
        28085 by: Henrik Nordstrom
        28104 by: boka

Re: SQUID NTLM pop up password
        28087 by: Henrik Nordstrom
        28090 by: Igor Luiz Oliveira de Souza
        28092 by: Alexander Kiselev
        28094 by: Simon Bryan

Re: downloading large files
        28089 by: Henrik Nordstrom

Stopping downloads
        28091 by: Simon Bryan
        28101 by: Henrik Nordstrom

ICP Statistics Info per Peer
        28093 by: atit jariwala
        28100 by: Henrik Nordstrom
        28103 by: atit jariwala

ftp with squid.
        28095 by: Mauro
        28096 by: Marc Elsen
        28098 by: Henrik Nordstrom

Enabling SIBLING causes TIMEOUT_DIRECT.
        28097 by: Rabie van der Merwe

Re: Squid and streaming
        28102 by: ABOKHALAF, Nassri Abdellatif

Administrivia:

To subscribe to the digest, e-mail:
        <squid-users-digest-subscribe@squid-cache.org>

To unsubscribe from the digest, e-mail:
        <squid-users-digest-unsubscribe@squid-cache.org>

To post to the list, e-mail:
        <squid-users@squid-cache.org>

----------------------------------------------------------------------
Visit our website at http://www.rm.com

This message is confidential. You should not copy it
or disclose its contents to anyone. You may use and apply the information
only for the intended purpose. Internet communications are not secure and
therefore RM does not accept legal responsibility for the contents of this
message. Any views or opinions presented are only those of the author and
not those of RM. If this email has come to you in error please delete it
and any attachments. Please note that RM may intercept incoming and
outgoing e-mail communications.

This email has been scanned for viruses by Trend ScanMail.
Received on Tue Apr 08 2003 - 03:33:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:51 MST