[wp-hackers] any plan about bufferizing the whole WP output?..
jayarjo at gmail.com
Sat Dec 27 13:09:56 GMT 2008
The idea came to my mind, just when I had problems with redirection on
my complicated theme. Every time I tried to redirect I got that
'headers already sent' thing and no redirection. Probably one has to
write some separate redirection plugin to manage this problem on
earlier stage - perhaps somewhere at 'init' level.
Is the overhead so big to leave this feature alone. Could be handy
sometimes. Imagine - at any time you have all the output, that is
going to be sent to users browser, at your finger tips. We could write
some good management parser functions, that could easily rearrange
things in output. No? :)
On Sat, Dec 27, 2008 at 4:45 PM, Viper007Bond <viper at viper007bond.com> wrote:
> +1 to Ew.
> And it's super easy to add via a plugin anyway. Just hook in at "init" to
> start it and "shutdown" to output it.
> On Fri, Dec 26, 2008 at 11:39 PM, DD32 <wordpress at dd32.id.au> wrote:
>> Avoid buffering at all costs.
>> It means that the PHP script needs to finish executing before any of the
>> page is sent to the user, and adds some overhead.
>> However, Some systems automatically buffer to compress the output.
>> Plugins can also call any output buffer functions themselves if they wish
>> use an output buffer..
>> 2008/12/27 dave jaggy <jayarjo at gmail.com>
>> > Is there a plan around to bufferize the whole wordpress output, before
>> > it actually gets echoed to a remote client? I think this gotta be
>> > great, if one could fully manage (add/remove/alter) output before it
>> > (headers) gets sent. Is there any API development plan in this
>> > direction?
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers