Re: only caching images

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 18 Jul 1999 21:44:51 +0200

Maciej Kozinski wrote:

> general - because of the first match. In this order the images will match first
> no_cache deny directive. This should look like below:
>
> acl NOCACHE url_regex .*
> acl IMAGES url_regex \.gif$ \.jpg$
> no_cache allow IMAGES
> no_cache deny NOCACHE

Or simply

acl IMAGES url_regex \.gif$ \.jpg$
no_cache allow IMAGES

as Squid always insert a implicit "catch all" rule last in the list
which is the inverse of the last specified rule.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Sun Jul 18 1999 - 13:51:51 MDT

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