the accelerator is useful

From: Miguel A.L. Paraz <>
Date: Sat, 27 Jul 1996 23:49:28 +0800 (GMT+0800)

Stephen R. van den Berg wrote:

> Ok, further exploring the boundaries: what's with the accelerator
> functionality? Do many people use it? I would personally think that
> with more and more web pages becoming generated-on-the-fly and servers
> getting faster, the need for the accelerator functionality starts to
> diminish?

Nope, don't just think CPU, think bandwidth. Squid can mirror ANY
web site in the planet - here's how I use it. I have a colocated web
server in the US, with a T1 connection, that replicates my Apache-
based web server here in the Philippines, with a 64K connection.
Accesses to are simply fed to this line in my Apache

ScriptAlias / /usr/local/etc/httpd/cgi-bin/redirector/

Where redirector is:

print "Location: http://" .
    ((($ENV{"REMOTE_ADDR"} =~ /^203\.176/) &&
      $ENV{"REQUEST_METHOD"} ne "POST") ?
      "" : "") . $ENV{"PATH_INFO"} . "\n\n";

Where 203.176.* is my local IP (well I currently do, but
there's little point right now to check that exactly);
is the US server running Squid; and is the real web server
over here.

miguel a.l. paraz <> / iphil communications / PGP keyID 0x43F0D011
Received on Sat Jul 27 1996 - 08:51:30 MDT

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