Recently i came across a project that needed a lot of improvement. So i started searching the web for some techniques that could enhance the loading speed of this web application.
After a while i found some techniques but they gave me just a couple of seconds boost.
So, dear co-programmers, please fill in any coding/enhancing techniques you know.
I'll start with some of the more obvious:
- Don't use more than a 3 level nested loop.
- In ASP disable the viewstate for the controls that don't need it(e.g.: labels, divs, controls that have static values in general). (The main reason for this is that the viewstate is an encrypted and hashed value for the controls and therefor any control that does not need the viewstate just slows your app by executing encryption and hashing on it's value)
Thank you for your help, and eventually helping other juniors like me develop fast applications.
EDIT: also i found this on Visual Studio Magazine: http://visualstudiomagazine.com/articles/2005/11/01/optimize-aspnet-performance.aspx