O'Reilly logo

ASP.NET Site Performance Secrets by Matt Perdeck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required