Re: [squid-users] tuning squid 2.3/2.4 on a slow connection

From: Joe Cooper <joe@dont-contact.us>
Date: Tue, 10 Apr 2001 04:22:20 -0500

That's quite true. Many sites explicitly request not to be cached, or
not to have some objects cached. CNN is probably one of those sites.

This is a function of how cachable the origin website is. Squid can
only know what the website tells it, regarding cachability. So even if
a site does not change between visits, if the origin server says to
Squid "do not cache this site" then Squid can only obey. Technically,
you can force Squid to disrespect some things that will limit
cachability using the refresh_pattern directive. However, this is only
recommended when you /know/ what the origin server's content is like,
and know how to tune to suit that content. Usually, Squid's defaults
are a nice compromise between guaranteed freshness and 'perfect' caching
of cachable data. You can't have both--so you have to balance it carefully.

If you are seeing an 800ms delay when an item is a cache hit (a real
hit--and nothing on the page is a miss) then something is wrong in your
OS/Squid/network configuration. Though we do not have enough
information to even guess where it might be.

Edward wrote:

> When you request an object, it seems that it have to check the content
> server first.
>
> eg, cnn and so on.
>
> There is also a fact where there is a smalll delay in sending cache items to
> you.It could be about up to 800ms.
>
> Thank you very much.
>
> Best regards,
>
> Edward Millington
> (Network Administrator & Senior Technical Support Technician)
> Cariaccess Communications Ltd.
> Carlisle House
> Hincks Street
> Bridgetown
> Barbados
> 1-246-430-7435
> Fax : 1-246-431-0170
> www.cariaccess.com
> ----- Original Message -----
> From: "Joe Cooper" <joe@swelltech.com>
> To: "Edward" <edward@cariaccess.com>
> Cc: "squid" <squid-users@squid-cache.org>
> Sent: Monday, April 09, 2001 5:59 AM
> Subject: Re: [squid-users] tuning squid 2.3/2.4 on a slow connection
>
>
>
>> What latency problem? If the object is a hit it should come back
>> immediately, if it is a miss, there is nothing Squid can do to make it
>> come through the line faster.
>>
>> Squid opens whatever connections the client browser opens. So when IE
>> opens 8 connections at a time, Squid will too.
>>
>> Edward wrote:
>>
>>
>>> Hi JOe!
>>>
>>> What about the latency problem on slow connections?
>>>
>>> Can I raise the number of connection squid opens to the content server
>>
> like
>
>>> what IE can do? IE. Pipelining?
>>>
>>> Thank you very much.
>>
>> --
>> Joe Cooper <joe@swelltech.com>
>> Affordable Web Caching Proxy Appliances
>> http://www.swelltech.com
>>
>>

-- 
                                   --
                      Joe Cooper <joe@swelltech.com>
                  Affordable Web Caching Proxy Appliances
                         http://www.swelltech.com
Received on Tue Apr 10 2001 - 03:14:13 MDT

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