12-24-04 05:37 PM
[QUOTE]Originally posted by Lloyd Palfrey
[B]I'm trying to make squid cache nothing by default. Then specify the
extensions of files I want to cache.
Has anyone done this?
IF you don't want to cache contents then use acl settings and no_cache direc
tive setting.
Example :
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
To cache extensions based then use urlpath_regex ACL settings and http_acces
s rule.
acl ext urlpath_regex \.gif$ \.jpeg$
http_access allow ext
To know all about mime contents and file types then use mime.conf.default fi
le.
HTH.
regards
Muthukumar
kmuthu_gct@yahoo.com
[ Post a follow-up to this message ]
|