Re: Browsing the cache

From: Duane Wessels <wessels@dont-contact.us>
Date: Tue, 10 Aug 1999 23:01:32 -0600

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 Tue Aug 10 1999 - 22:45:36 MDT

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