Re: Is there any caching ...

Tony Sanders <sanders@bsdi.com>
X-Delivered: at request of secret on dxcern.cern.ch
Errors-To: sanders@bsdi.com
Message-id: <9310061719.AA03480@austin.BSDI.COM>
To: guenther.fischer@hrz.tu-chemnitz.de
Cc: www-talk@nxoc01.cern.ch
Subject: Re: Is there any caching ... 
In-Reply-To: Guenther Fischer's message of Wed, 06 Oct 93 17:32:14 BST.
Errors-To: sanders@bsdi.com
Reply-To: sanders@bsdi.com
Organization: Berkeley Software Design, Inc.
Date: Wed, 06 Oct 1993 12:19:09 -0500
From: Tony Sanders <sanders@bsdi.com>
> - It would be nice if I could say
>      xmosaic -cacheserver a_local_host:port
>   and xmosaic would connect to a_local_host:port and write
>   GET /host[:port/...      (full http URL without prologue http:/ )
export WWW_http_GATEWAY=http://localcachingserver

> - this "cache" erver is a plexus and I've hacked in the dir.pl
>   to do the job (craeting directories and getting the file and
>   putting them to the clients)
>   It runs on a separate port - the port number is my "mapping"
>   to the mother server.
Very Cool.  If you ever make it production quality (and can port it to
3.0 when it comes out) I would love to integrate this into the release.

> Are there other/better solutions to do such a job? How can I get 
> infomations like filesize and date?
>From the returned Object for HTTP/1.0 servers.
You'll want to handle things like:
    Last-Modified:
    Expires:
    Content-Length:

TimBL: According to the spec data formats are per RFC850, so they are like:
    Last-modified: Tuesday, 05-Oct-93 22:58:33 GMT
I'm not sure that's the right RFC to standardize on.  Wouldn't 822 make
more sense?

--sanders