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 ...

Get ASP.NET Site Performance Secrets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.