[8185] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: Content-lengths of dynamic objects

daemon@ATHENA.MIT.EDU (Jared Rhine)
Tue May 9 04:22:08 1995

Date: Tue, 9 May 1995 03:49:07 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: Jared_Rhine@hmc.edu
From: Jared Rhine <Jared_Rhine@hmc.edu>
To: Multiple recipients of list <www-talk@www10.w3.org>

[Citation date: Mon, 8 May 1995 21:41:10 PDT]
LM == Larry Masinter <masinter@parc.xerox.com>

  LM> Caching is a bad idea for something that changes length every time
  LM> it's called. (Oh, quote-of-the-day, for example, or just the output
  LM> from a request form.) Waiting to cache something that will never be
  LM> needed again doesn't optimize anything, and adds unnecessary latency
  LM> to the transaction while the server generates all of the data.

Granted, but I'm not entirely sure of the connection you're trying to make.
For the most part, my dynamically generated objects don't change length or
content and it's ok to cache them.  For the ones that do change every time,
I add an Expires header to the response to let know caching mechanisms now
not to cache it.  Unfortunately, my tests indicate that Netscape doesn't
handle the Expires header properly :(

-- 
Jared_Rhine@hmc.edu / HMC / <URL:http://www.hmc.edu/~jared/home>

"To live is to war with trolls." -- Ibsen

home help back first fref pref prev next nref lref last post