Summary
In this chapter, we first saw how to pinpoint a number of bottlenecks related to the size of the .aspx page as it goes over the wire. These included IIS-based file compression, ViewState, and white space overhead.
This was followed by a discussion of how to reduce ViewState and/or store it on the server rather than sending it back and forth between server and browser in a hidden field. In addition to this, a method to reduce white space was described. Compression is discussed in Chapter 10, Compression, and Chapter 11, Optimizing Forms deals with forms-related optimizations.
Finally, we saw a number of additional measures to reduce the size of .aspx pages, including disabling event validation, reducing space taken by ASP.NET IDs and using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access