When performance is important, including server memory, I'm curious to use output buffering as ob_start (); in PHP ANY performance gains not used? Does he use more memory or something else to use it?
In my situation on a high-traffic site, where I need all the memory that I can use for memcache and APC and all other server actions, I just wonder if I will use it or not, the only real reason I'm comfortable to redirect pages, send headers that I have to say after the header has already been sent, my site has a header, body, footer setting, so sometimes I need to redirect depending on what is in the main file, so if agolovok already shown an ion screen that creates the problem, using the output buffering - 1 solution, but there are other solutions that are just interested in the performance of
php output-buffering
Jasondavis
source share