users@javaserverfaces.java.net

Re: Is rendered output buffered or streamed?

From: Roger Keays <roger.keays_at_ninthavenue.com.au>
Date: Wed, 19 Sep 2007 12:08:23 +1000

Mikael Andersson wrote:
> Hi
>
> I wonder if JSF 1.2 RI is buffering the rendered output, or if it is
> streaming it back to the browser?

Streamed with a small buffer AFAICT, excepting the conditions Ryan posted.

> Asking because I had an issue a while ago with the the myfaces extension
> filter which buffered everything before writing the response to the
> client, which caused memory problems when rendering a lot of data.

Maybe this blog will help you out with MyFaces:

http://www.ninthavenue.com.au/blog/myfaces_filter

Roger

-- 
------------------------------------
Ninth Avenue Software
p: +61 7 3137 1351 (UTC +10)
f: +61 7 3102 9141
w: http://www.ninthavenue.com.au
e: info_at_ninthavenue.com.au
------------------------------------