[squid-users] ignore-no-cache caching everything

From: leongmzlist <leongmzlist@dont-contact.us>
Date: Mon, 18 Jun 2007 18:06:07 -0700

Here's a sample request header:

wget -S http://user:passwd@server.com/path/file

HTTP request sent, awaiting response...
  1 HTTP/1.0 200 OK
  2 Server: Apache-Coyote/1.1
  3 Pragma: No-cache
  4 Cache-Control: no-cache
  5 Expires: Wed, 31 Dec 1969 16:00:00 PST
  6 Content-Type: text/xml;charset=ISO-8859-1
  7 Date: Tue, 19 Jun 2007 00:11:31 GMT
  8 Age: 1701
  9 Content-Length: 12809
10 X-Cache: HIT from x1-cache-01
11 X-Cache-Lookup: HIT from x1-cache-01:80
12 Via: 1.0 x1-cache-01:80 (squid/2.6.STABLE10)
13 Connection: keep-alive

I have override-expire ignore-reload ignore-auth ignore-no-cache on
my refresh_pattern

cache_peer 10.x.x.x parent 80 0 no-query originserver
no-netdb-exchange no-digest login=user:pw name=pool1
acl anytext rep_mime_type -i ^text/.+
acl textfiles rep_mime_type -i ^text/plain$
acl htmlfiles rep_mime_type -i ^text/html$
acl xmlfiles rep_mime_type -i ^text/xml$
acl jpegfiles rep_mime_type -i ^image/jpeg$
acl pngfiles rep_mime_type -i ^image/png$
acl giffiles rep_mime_type -i ^image/gif$

#don't cache text, html
cache deny anytext
cache deny xmlfiles
cache deny textfiles
cache deny htmlfiles

It seems that squid is caching everything, even though I told it not
to cache text files. Any ideas why?

mike
Received on Mon Jun 18 2007 - 19:06:14 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT