Re: [squid-users] Possible? Cache images with different parameters after question-mark?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 10 Jul 2007 14:50:04 +0200

tis 2007-07-10 klockan 11:30 +0200 skrev Hermann-Marcus Behrens:

> The problem: The file "pixel.gif" never changes, but due to the
> question-mark and the changing parameters squid always connects to
> apache and fetches the same file (=pixel.gif) from the apache daemon. I
> would like to config the squid in a way, that it caches the file and
> serves it from memory. Is this possible?

Yes, by using a url rewriter helper which strips the query part from the
URL.

Regards
Henrik

Received on Tue Jul 10 2007 - 06:50:15 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT