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

Summary

In this chapter, we had a detailed look at server-based compression, the most effective way to reduce the sizes of files as they go over the wire from your server to the browser.

We started off by looking at how server and browser agree on compression, including the HTTP headers involved. This was followed by detailed instructions on enabling compression in IIS 7 and IIS 6. This included specifying which types of files will be compressed, setting a compression level to fine-tune the tradeoff between CPU usage and file size, and setting a CPU usage limit above which compression is automatically disabled.

We also looked at how to enable compression in your development environment, so you can keep track of the size of the files your site is ...

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