[squid-users] Denying caching by response headers?possible?

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Wed, 19 Jun 2013 11:33:46 +0300

i took this from the acls docs:
        acl aclname rep_mime_type [-i] mime-type ...
          # regex match against the mime type of the reply received by
          # squid. Can be used to detect file download or some
          # types HTTP tunneling requests. [fast]
          # NOTE: This has no effect in http_access rules. It only has
          # effect in rules that affect the reply data stream such as
          # http_reply_access.

and I was wondering if this is suppose to work:

acl response_mime rep_mime_type "some mime type"

cache deny dstdom_acl response_mime
cache allow all

I remeber that using a status code like 30x for the same task wouldn't work.

Thanks,
Eliezer
Received on Wed Jun 19 2013 - 08:34:14 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 19 2013 - 12:00:04 MDT