refresh patterns and other nitpicks

From: Stefan Monnier <monnier+lists/squid/news/@dont-contact.us>
Date: 14 Nov 1997 04:21:18 -0500

Would it be possible to specify refresh_pattern in terms of content-type
rather than in terms of url ?
In other words, intead of saying

        refresh_pattern \.gif 100 30% 10000

I would like to say

        refresh_appern image/gif 100 30% 10000

this way, it also works for CGI scripts returning images.
In the same kind of unimportant requests:

how about indexing the cache based on an hash of the content ?
This way, if a page is accessible via two different URLs, it will be cached
only once (but will of course still miss twice, this seems unavoidable).

        Stefan
Received on Fri Nov 14 1997 - 01:35:58 MST

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