[squid-users] Squid+radio/satellite: How to deny updating a cached object until bandwidth increases?

From: Strandell, Ralf <Ralf.Strandell@dont-contact.us>
Date: Thu, 23 Mar 2006 17:24:55 +0200

Hi,

I need to install Squid on a vessel that uses slow radio and satellite
connections.
Sometimes there is enough bandwidth, but usually it is below modem
speeds.

There are a few (dozen) very large files that need to be cached in a
special way:

Squid must ignore all attempts to fetch newer versions of these listed
files from source unless...
- the object is completely missing from cache OR
- there is enough of bandwidth (or alternatively: the time is between
xx:yy and zz:vv)

The fact that these files might have changed does not play a role.
The old version must be served from the cache untill the bandwidth is
back again.

How do I implement this?

I could use some wget + scripting magic, if needed...

Thanks.
Received on Thu Mar 23 2006 - 08:25:00 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST