Re: [squid-users] acellerator & dynamic content

From: Bart Dumon <bart@dont-contact.us>
Date: Mon, 25 Aug 2003 23:23:45 +0200

On Mon, Aug 25, 2003 at 10:03:22PM +0100, Antony Stone wrote:
> On Monday 25 August 2003 9:54 pm, Bart Dumon wrote:
>
> > i'm looking into putting up squid in accelerator mode to cache
> > the content on 2 web servers containing lots of dynamic content
>
> What's your definition of dynamic? How does the caching proxy know it's
> safe to cache something; how does it know it needs to get new content from
> the real server?

the proxy may assume it's safe to cache everything, content should
expire eg. every 5 minutes.

> > and when i look at the access log it only show url's
> > without querystring, everything behind the question mark is
> > gone, so i'm absolutely unsure wheter squid is caching
> > the actual content. because if it's not, it's quite useless :)
>
> Try strip_query_terms=off in your squid.conf

ok, strip_query_terms will reveal the querystring in the access log,
but will it cache the content of the page with querystring for the
next visitor too? this is what i'm unsure off.

thx! bart

--
Received on Mon Aug 25 2003 - 15:23:49 MDT

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