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

Configuring compression in IIS 7

In this section, we'll see how to use compression in IIS 7. If you use IIS 6, skip to the Configuring compression in IIS 6 section.

Switching on compression in IIS 7 by itself is fairly easy. However, the moment you try to use some of the more advanced features, you find yourself using the command prompt or modifying a configuration file.

Here, we'll first switch on compression, and then get into those more advanced features.

Installing the dynamic content compression module

If you want to use compression for dynamic files, first install the dynamic content compression module. The steps to do this are different depending on whether you use Vista/Windows 7 or Windows Server 2008.

On Windows Server 2008:

  1. Click Start ...

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