Re: Multiple objects in a single transaction: Making it more concrete

Daniel W. Connolly (connolly@hal.com)
Mon, 11 Apr 1994 16:10:48 -0500


In message <9404112055.AA16015@ptsun03.cern.ch>, Ari Luotonen writes:
>
>> (BTW, as long as we're talking about cache servers, how do cache
>> servers handle negotiation of Content-Type?)
>
>Proxy becomes a client that can handle all the formats that the remote
>client has Accept:ed, and presents them by wrapping them to MIME and
>sending back.

Does the proxy assume that any format available in the cache is
preferable to all other formats? For example:

Fred really likes to read text/plain cuz it's fast, but his
browser supports applictaion/postscript too.
Joe really likes to read application/postscript cuz it looks good.

Fred bops to http://host/file.multi. It's not in the proxy cache,
so the proxy uses Fred's profile to get it from the remote source.
The remote source returns the text/plain version, as per Fred's
preferences.

The Joe bops across the same link. Does the proxy server give
him the text version from the cache or does it notice that
the client profiles are different and go accross the wire?

(The proxy should also pay attention to the vary=... info
returned from the original remote fetch: if there is no vary=
parameter, it can (according to the spec) assume there are
no other formats available for that URI)

Note that the "any local format is preferable to all remote
formats" heuristic makes the proxy not quite invisible; i.e. the proxy
doesn't always act just like a fast version of the remote
server.

Dan