You are completely out of base :)
what happens when there is some kind of nasty callout tracker, javascript or image sent to the browser
This will not affect anything on the server side.
Every request executed through PHP will
- Compile the necessary PHP files to select the code (if caching is not one)
- Run optional PHP code
- Return string results of PHP code to browser
The buffering you are talking about happens between steps 2 and 3. So, let's take a look at your scenario.
- PHP URL request made
- Opt code compiles
- PHP execution starts and starts returning html strings
- Created a line with a slow boot img tag
- PHP continues to produce output in apache
- A separate HTTP request is created for the image (or javascript code, or something else, etc.)
This is a separate request, which is impotent here. All PHP and Apache return HTML to the browser. This HTML may call the img or javasript tag, which will call back to the same web server, but these requests will be processed separately from the request that creates the HTML for the existing page.
source share