I've heard that writing out the entire ASP.NET page in one go helps performance. Like having the following as the first line on Page_Load
:
Response.BufferOutput = true;
And using Response.Flush
at the end of all processing.
Does this help? If yes, are there any the disadvantages in using it?