how to keep squid from caching local objects? (2.2.STABLE4)

From: Rich Winkel <squid@dont-contact.us>
Date: Fri, 7 Jan 2000 13:50:11 -0800 (PST)

I'm having problems with getting squid to not cache local files.
I have the following in squid.conf:

acl umc dstdomain missouri.edu
acl query urlpath_regex -i cgi-bin \?
no_cache deny umc query

But it's not working, at least it's not doing what I thought it would.
For instance, in the vm_objects display of the cache manager, I see
items like:

KEY 25CAFE4BCF364214E9ABD85F54182BC4
        GET http://www.math.missouri.edu/~carmen/
        STORE_OK IN_MEMORY SWAPOUT_DONE PING_DONE
        CACHABLE,DISPATCHED,VALIDATED
        LV:947281171 LU:947281171 LM:936119628 EX:-1
        0 locks, 0 clients, 1 refs
        Swap File 0X02EE23
        inmem_lo: 0
        inmem_hi: 2389
        swapout: 2488 bytes done, 2389 queued, FD -1

How can I get squid to not store local objects?

On a related issue, how does one force a refresh of a non-html file?
If I modify an html file and click "Reload" in netscape, the updates
are displayed immediately, but if I change, say a PS file (which
netscape calls ghostview to browse), I keep getting the old version.
Should I just put "\.ps$" in an acl urlpath_regex line and add it
to no_cache or what?

Thanks for any help!!

Rich
Received on Fri Jan 07 2000 - 15:36:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:16 MST