[wp-hackers] output buffering in general and wordpress
Haluk Karamete
halukkaramete at gmail.com
Thu May 3 08:18:29 UTC 2012
does WP turn on the output_buffering ( or does it not care? - it
leaves it up to the php config )
And if I do turn it on (for some reason - maybe to get a hold of the
entire HTML being sent to the client), does it in any shape or form
interfere with the way WP works? In other words, can I just turn it on
or off on a page by page basis?
On Thu, May 3, 2012 at 12:58 AM, Mike Little <wordpress at zed1.com> wrote:
> On Thu, May 3, 2012 at 8:39 AM, Stas Sușcov <stas at nerd.ro> wrote:
>
>>
>> Fyi, I didn't interpret any links, I gave examples on how and when people
>> use output buffering. You might agree or not, but thats your opinion.
>>
>
> By associating two of the references with the word "debatable", and one of
> them with "mostly not true", you did, indeed interpret them.
>
> There is a reason the lower level 'engines'; apache web server, OS file
> handling libraries, etc. do buffering for you (using higher level
> languages): it's because they do it best; it's because they hold the
> connection to the output stream and know when the pipe is empty and ready
> for the next packet of data and when it is busy so output must be buffered.
>
>
>
>> Also, there's no such term _general programming_, it's just programming!
>>
>>
> There are a number of programming paradigms that are far, far from general
> programming: high speed I/O for instance, machine control for another
> example (both fields I have worked in), programming where you interface
> directly with the hardware; in those instances there might be reasons to
> handling your own buffering, and to program in a way that would be odd and
> even a little counter-intuitive to many general programmers. However this
> is wandering off-topic.
>
>
> Mike
> --
> Mike Little
> http://zed1.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list