
A good place to consider flushing is right after the HEAD because the HTML for the head is usually easier to produce and it allows you to include any CSS and JavaScript files for the browser to start fetching in parallel while the backend is still processing.
Example:
...
...
Now for us all we have to do is make a UDT, lets say {flush}, containing,
Code: Select all
//needed air to present this
//
?><?php flush();
//
//
You could put this any where you want to but this is the best IMHO place to do it...
{flush}
As always, use at your on risk, though it should cause no harm, it's your site and your responsibility.
jeremyBass