cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolás Lichtmaier <>
Subject Re: Content-length
Date Mon, 24 Jan 2000 03:18:01 GMT
> > It's not a problem with the DOM/SAX model, IMVHO. In both
> > cases the format in wich the data is supplied to the 
> > serializer does not contain information on the content length.
> This can be viewed as a make-it-up-in-volume type of tradeoff
> similar to the first time hit on compiling JSP/XSP. You blow off
> trying to prepend the content-length for the first request for
> the cacheable page and then make sure that the cache contains the
> content-length for follow-on requests. 

 The first time can be buffered, and the content-length printed as well.
Buffer has other benefits. With buffering, if a problem arises the user
might be shown another page, because nothing has been sent.

View raw message