[squid-users] mirroring help

From: M. Yu <myu@dont-contact.us>
Date: Sat, 23 Jun 2001 20:04:18 +0800

Hello list,

I am planning to set up 2 servers that would mirror the top 50% of the sites
my users go to as reported from Squid to decongest our Internet link during
peak hours. Can anyone suggest a setup that would work with Squid?

Basically here's my idea on how it would work:

- user requests a page
- request is sent to Squid (currently all browsers are configured to use our
cache but we will soon move to transparent redirection)
- Squid sees it doesn't have the page in its cache
- Squid somehow (by using ACLs perhaps?) knows that the URL requested is
being mirrored locally and requests it not from the origin server but from
the local mirror
- Squid puts a copy in its cache and sends it to the client

Alternative procedures and setups are welcome. Some of you might think that
Squid already does this so why set up another server just to mirror a site?
Well the answer to that would be, I would mirror the sites at off peak
hours, not during peak hours. If anyone can suggest of a way to do that
with Squid alone (not using anything else), I'd be most happy. Right now,
the only way I can think of is configure 2 machines to mirror sites via wget
or rsync. But how do I tell Squid to use the local mirrors instead of going
out to the source?

TIA,

M. Yu
Received on Sat Jun 23 2001 - 06:12:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:50 MST