Re: [squid-users] Caching a QueryString with parameters

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 12 Aug 2006 11:14:34 +0200

fre 2006-08-11 klockan 19:54 -0300 skrev Jose Octavio de Castro Neves

> Today I´ve got a bunch of MISS because some users were getting
> straight to a page with some parameters on the querystring. I know
> that this is totally normal and expected, but I would like to know if
> it's possible to cache situations where you have thousands of requests
> to a page with parameters on the querystring

If these are all unique query strings then there is a problem as the
query string is part of the URL, and it's impossible for the cache to
know that the web server ignored it..

What you can do in such case is to use a redirector to strip away the
redundant query string parameters before the request is forwarded.

If they all have the same query string then see the cache directive..
the default is to not allow caching of queries..

Regards
Henrik

Received on Sat Aug 12 2006 - 03:14:38 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT