RE: Squid speed

From: Don Brown <dbrown@dont-contact.us>
Date: Thu, 15 Oct 1998 13:39:08 -0400

After your suggestion & watching the log & comparing each request to the
FAQ, I've now reconfigured a few things: I had my max file size set at
32M. I backed that off slightly. In my browser (MSIE 4.01)I changed
the cache setting to never check for a newer page and the amount to use
to the lowest amount (1% - no reason to cache the cache). This
increased the speed dramatically. I'm now convinced it's the browser.
However, if I change my setting to never page, then the .asp pages don't
refresh. If I set it to check every time I start, I see TCP_IMS_HITs in
my log and the speed is still slow. Can anyone tell me what the best
setting would be for IE40? (Other than to use something else...)

Don Brown

-----Original Message-----
From: Michael Fuhr [mailto:mfuhr@dimensional.com]
Sent: Thursday, October 15, 1998 12:54 PM
To: Don Brown
Cc: squid-users@ircache.net
Subject: Re: Squid speed

On Thu, Oct 15, 1998 at 08:56:35AM -0400, Don Brown wrote:

> I'm new to using Squid, so please be gentle.

Welcome! How's that?
 
> The system is storing a copy of the requests, but it doesn't seem to
be
> sending from my cached area when a new request comes in. For example,
> if I download a 1M file, quit my browser and start it again, then
> download that same file, the speed is the same as the first time. My
> understanding is that I should be retrieving it at the speed of my
> network, not starting from scratch. What could I have configured
wrong?

Check your access.log for the cache result code (TCP_REFRESH_MISS,
TCP_HIT, etc.) on the second request. See the Squid FAQ for
descriptions of result codes and the refresh algorithm:

    http://squid.nlanr.net/Squid/FAQ/FAQ-6.html#ss6.5
    http://squid.nlanr.net/Squid/FAQ/FAQ-12.html#ss12.20

It's possible the object is volatile enough that Squid fetches a new
copy each time. If you like, post the relevant lines from your
access.log and store.log and we'll take a look at them.

I've seen slow browsers take a long time to load objects, even from a
local file. But let's check out Squid before placing blame :-)

-- 
Michael Fuhr
http://www.fuhr.net/~mfuhr/
Received on Thu Oct 15 1998 - 11:39:50 MDT

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