[ 
https://issues.apache.org/jira/browse/MYFACES-3775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe reopened MYFACES-3775:
-------------------------------------


Reopening issue as it was found this description on the javadoc of 
ResponseWriter.flush():

"... Flush any ouput buffered by the output method to the underlying Writer or 
OutputStream. This method will not flush the underlying Writer or OutputStream; 
it simply clears any values buffered by this ResponseWriter. ..."

There are already some points when responseWriter.flush() is called, to ensure 
the current tag is closed.

But in this case we really want to force the underlying writer to be flushed. 
The idea is create a class extending from HtmlResponseWriterImpl and add the 
required code. It is necessary to fix StateWriter.flush() to invoke the 
internal writer flushing when is necessary (no state buffer used).



                
> [perf] optional early flush
> ---------------------------
>
>                 Key: MYFACES-3775
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3775
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-344
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 2.2.0
>
>
> in project-stage production it should be possible to enable an early flush 
> via context-param (performed at the end of HtmlHeadRenderer#encodeEnd)
> (see http://developer.yahoo.com/performance/rules.html#flush)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to