[squid-users] proper use of "no_cache" ?

From: Илья Шипицин <ilia@dont-contact.us>
Date: Sun, 26 Jan 2003 13:29:40 +0500 (YEKT)

Dear Sirs,

I'm running squid-2.5 on FreeBSD-4.7.

I don't want certain objects to be cached (even if were previously
cached!) so I tried two combinations of "no_cache"

1) acl QUERY urlpath_regex cgi-bin \?
   acl DrWeb urlpath_regex drweb
   no_cache deny QUERY
   no_cache deny DrWeb

2) acl QUERY urlpath_regex cgi-bin \?
   acl DrWeb urlpath_regex drweb
   no_cache deny QUERY DrWeb

but in both cases, as I can see in access.log, I'm getting objects from
cache. Which is exactly opposite to what I want.

How can I stop objects from cacheing if url contains string "drweb" ?
(even if objects were previously cached)

1043569332.784 3 195.54.14.89 TCP_HIT/200 291 HEAD
ftp://ftp.drweb.ru/pub/updates/free/windows/spiderui.dll;type=i phy_shipi
NONE/- application/octet-stream
1043569332.793 3 195.54.14.89 TCP_HIT/200 286 HEAD
ftp://ftp.drweb.ru/pub/updates/free/windows/whatsnew.txt;type=i phy_shipi
NONE/- application/octet-stream
1043569332.873 4 195.54.14.89 TCP_HIT/200 8369 GET
ftp://ftp.drweb.ru/pub/updates/free/windows/drwtoday.vdb;type=i phy_shipi
NONE/- application/octet-stream

Regards, (Наилучшие пожелания)
Ilia Chipitsine (Илья Шипицин)
Received on Sun Jan 26 2003 - 08:05:28 MST

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