Re: [squid-users] Reverse-proxy + dynamic queries.

From: Squid Support (Henrik Nordstrom) <>
Date: Fri, 22 Feb 2002 21:27:11 +0100

Squid does not really care if the URL contains ? or not. To Squid it
is just a URL. What the URL represents Squid cares even less of, only
the string that makes the URL.

There is however a small set of recommended rules in squid.conf, that
if enabled will completely deny caching of query URLs. Make sure you
haven't enabled these.

If you have control over the application then the by all means most
effective method is to make sure the application returns correct
cacheablility information. See the Cache-Control and Expires headers
in RFC2616.

If you can't control the application then your second option is to
use the refresh_pattern setting in squid.conf to manually tweak the
caching. However, if you application explicitly indicates that the
result may not be cached then it is possible that this cannot be
overridden by Squid configuration. Some things can be overridden by
Squid configuration, but not all.

To check your application, use the cacheability check engine (linked
from the Squid homepage).

Henrik Nordström

On Friday 22 February 2002 18:50, David Robillard wrote:
> Greetings,
> Goal:
> Configure Squid as a reverse-proxy to cache dynamic queries to
> reduce the load on our web and app servers.
> Environment:
> Our web servers send images as encrypted strings format, an
> example.html file looks like this:
> Problem:
> How can we cache the encrypted string?

MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Fri Feb 22 2002 - 13:28:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:31 MST