Re: Forced caching of cgi-gifs

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 09 Feb 2000 13:42:26 +0100

Alessio Sangalli wrote:

> debug_options ALL,1
> acl all src 192.168.1.0/255.255.255.0
>
> acl CENTROHL dst_domain .centrohl.it
> acl GIF url .*gif\?.*
> no_cache allow CENTROHL GIF

You don't need to use no_cache. The default is to cache if possible.

Also, beware that the above denices caching to everything except these
gifs, as there is a implicit "no_cache deny all" last in the no_cache
list (inverse of the last specified).

> Is there something wrong?

Maybe the object isn't cacheable? Enable log_mime_hdrs and take a look
at the headers returned by the server (or check them using the
cacheability check engine).

--
Henrik Nordstrom
Squid hacker
Received on Wed Feb 09 2000 - 06:38:25 MST

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