RE: Browsing the cache

From: nilotpal <nilotpal@dont-contact.us>
Date: Wed, 11 Aug 1999 14:37:19 +0530

Anyone knows how to set IP preferences in the squid?
Please help,
anthropoid

-----Original Message-----
From: Duane Wessels [SMTP:wessels@ircache.net]
Sent: Wednesday, August 11, 1999 1:58 PM
To: Marc-Adrian Napoli
Cc: squid-users@ircache.net
Subject: Re: Browsing the cache

On Wed, 11 Aug 1999, Marc-Adrian Napoli wrote:

> Duane,
>
> > > I have a proxy running on a linux, just to share the internet access
> with
> > > the localnet, this proxy is not connected all the 24h a day and I would
> > > like to know, how users can browse around the web pages in the cache
> > > without having to be on-line, the files usually are on cache, since most
> > > part of pages visited are always the same.
> >
> > There is a squid.conf option called 'offline_mode'. You can
> > turn it on when squid goes offline, then all cached requests
> > come back immediately without trying to validate any of them.
>
> How does squid validate when in online mode?

The short version: Squid's refresh_pattern rules, along with some
hard-coded logic from the HTTP standards determine if a cached object
is stale or fresh. If its stale, then Squid sends a conditional
(validation) request, also known as an "If-Modified-Since" request,
using the last-modified timestamp.

HTTP/1.1 also defines Etags as a cache validator, but Squid doesn't
support Etags yet.

> It also, if used properly, could save ISPs's like us lots of money.

I guess that doesn't justify it in my opinion.

Duane W.
Received on Wed Aug 11 1999 - 03:05:23 MDT

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