Is compression the magic bullet?

With server-based compression dramatically reducing the size of HTML, CSS, and JavaScript files, is there any room for further reduction in file sizes? Yes, there is.

Introducing AJAX-style asynchronous form submission and AJAX-style grids and other user interface elements will still make a big difference, even with compression enabled. And if you can do so without too much effort, it is worthwhile to reduce ViewState. On the other hand, removing repetitive content such as white space will make less sense, because compression algorithms are very good at compressing such content. Reducing ViewState is described in Chapter 9, Reducing Time to Last Byte, optimizing forms in Chapter 11,Optimizing Forms.

Also, even with ...

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.