If you have a large class that executes after output(headers/text) is already sent, will that have any affect on your applications performance?
Edit: To clear things up, when output is sent, default headers are sent with it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The execution speed of the PHP will be the same regardless of whether the headers have been sent.
If you can send some HTML (for example the
<head>section) then it can actually make your page load faster, as the client can begin to download CSS and javascript files, and start to render the page if you send enough HTML.