views:

55

answers:

1

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?

+1  A: 

It only helps if it is the bottleneck. How did you measure?

Stephan Eggermont
I haven't measured yet. Something I've heard and was wondering if anyone has information on it.
Druid
cargo cult code doesn't help performance.
Stephan Eggermont