Re: [squid-users] Help me save bandwidth

From: Jose Ildefonso Camargo Tolosa <ildefonso.camargo_at_gmail.com>
Date: Tue, 28 Apr 2009 10:13:09 +1930

Hi!

On Tue, Apr 28, 2009 at 7:54 AM, Wilson Hernandez - MSD, S. A.
<wh_at_msdrd.com> wrote:
> Hello everybody.
>
> I am somewhat confused on how squid helps to save bandwidth. I know it
> saves visited websites to cache and when someone else request the same
> site it will serve it from the cache. Please correct me if that is wrong.

Yes, but I think that it "verifies" if the page is outdated (hence the request).

>
> Now, I've been checking my traffic before (external nic) and after
> (inside network) squid. Eveerytime I request a page (google.com) the
> request is sent to the internet as well so, in this case there isn't
> much saving done. But, if I have offline_mode on I get the old page
> stored locally. It seems that if I have offline_mode enabled is when
> bandwidth is been saved.

In offline mode, I think it no longer verifies if the pages are
outdated. Also, due to the "interactive" web pages these days, there
are lots of sites which include the "no-cache" directive on the
headers, and squid have to honor these.....

You should also verify the maximum and minimum object size, in order
to tune the cache for your particular case.

Please somebody correct me if I'm wrong.

I hope this helps,

Ildefonso Camargo
Received on Mon Apr 27 2009 - 14:43:17 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 28 2009 - 12:00:02 MDT