You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by Malcolm Edgar <ma...@gmail.com> on 2010/03/29 14:07:13 UTC
Flush Buffer
I was reading an interesting Yahoo dev section about flushing the
buffer after rendering the html head section.
http://developer.yahoo.com/performance/rules.html#flush
I wonder if we could have add the writer to the page model so it could
be instructed to flush during render, e.g.
<html>
<head>
...
</head>
$writer.flush()
<body>
..
</body>
</html>
regards Malcolm Edgar
Re: Flush Buffer
Posted by Malcolm Edgar <ma...@gmail.com>.
Seams to work OK, and does feel a little snappier, but that could be
wishful thinking. Probably much more noticable over a WAN where there
is a lot of latency.
I wonder how this interacts with the PerformanceFilter doing GZIP
compression over the top.
regards Malcolm Edgar
On Mon, Mar 29, 2010 at 11:28 PM, georgex <ge...@yahoo.com> wrote:
>
>
> Malcolm Edgar-2 wrote:
>>
>> I was reading an interesting Yahoo dev section about flushing the
>> buffer after rendering the html head section.
>>
>> http://developer.yahoo.com/performance/rules.html#flush
>>
>> I wonder if we could have add the writer to the page model so it could
>> be instructed to flush during render, e.g.
>>
> This looks to me like a PHP implementation detail problem. I don't think
> servlet containers behave like that.
>
> George.
> --
> View this message in context: http://n2.nabble.com/Flush-Buffer-tp4817537p4817615.html
> Sent from the click-development mailing list archive at Nabble.com.
>
Re: Flush Buffer
Posted by georgex <ge...@yahoo.com>.
Malcolm Edgar-2 wrote:
>
> I was reading an interesting Yahoo dev section about flushing the
> buffer after rendering the html head section.
>
> http://developer.yahoo.com/performance/rules.html#flush
>
> I wonder if we could have add the writer to the page model so it could
> be instructed to flush during render, e.g.
>
This looks to me like a PHP implementation detail problem. I don't think
servlet containers behave like that.
George.
--
View this message in context: http://n2.nabble.com/Flush-Buffer-tp4817537p4817615.html
Sent from the click-development mailing list archive at Nabble.com.