Friday, August 14, 2009

Enabling Dynamic HTTP Compression in IIS7 on Windows Server 2008

I’m not very familiar with the newer configuration screens in Windows Server 2008 so I pulled my hair out trying to update some settings. Apparently it’s just too obvious for Google to have been any help so I’m documenting it here for the next shmuck.

I wanted to enable dynamic http compression. I found the page to enable it but it wasn’t installed:

“The dynamic content compression module is not installed.” (but we won’t tell you how to install it)

It turns out that installing it is very easy and didn’t require a reboot (for me, at least):

Text only

Install it:

  1. Open server manager
  2. Roles > Web Server (IIS)
  3. Role Services (scroll down) > Add Role Services
  4. Add desired role (Web Server > Performance > Dynamic Content Compression)
  5. Next, Install, Wait…Done!

Enable it:

  1. Open server manager
  2. Roles > Web Server (IIS) > Internet Information Services (IIS) Manager
  3. Next pane: Sites > Default Web Site > Your Web Site
  4. Main pane: IIS > Compression

With perdy pictures

Install it:

  1. Open server manager
    0 start server manager
  2. Roles > Web Server (IIS)
  3. Role Services (scroll down) > Add Role Services
    SNAG-0000
  4. Add desired role (Web Server > Performance > Dynamic Content Compression)
    SNAG-0001
  5. Next, Install, Wait…Done!
    SNAG-0002

Enable it:

  1. Open server manager
  2. Roles > Web Server (IIS) > Internet Information Services (IIS) Manager
    SNAG-0003
  3. Next pane: Sites > Default Web Site > Your Web Site
  4. Main pane: IIS > Compression
    SNAG-0004

    SNAG-0005

You might be wondering why you’d want to compress content in the first place. This site has a nice analysis of the practice as well as detailed information regarding what compression level you should use (and how to set it).

23 comments:

Anonymous said...

boring...

Anonymous said...

thanks from the next schmuck

Patrick said...

So, what happened to three/week?

Michael Haren said...

@Anonymous(2): oh don't worry, it's riveting.

@Patrick: Work and babies, I guess. And "The Wire".

Anonymous said...

Thanks :)

Hetal said...

Thanks for screen by screen process. It was pretty easy in windows 2003 even.

Baldy said...

Thanks for the help.

Matt Whitfield said...

Thanks - helpful post sorted me out a treat!

Oscar Brito said...

or you can go to Add\Remove programs>Turn windows features On or off>IIS>WWW Services>Performance features

etymon technologies said...

Thanks for help :)

Steve said...

Thank You, Thank You! I have been looking for this solution for some time now.

Etienne Dupuis said...

Thanks for the help!

“The dynamic content compression module is not installed.”

(but we won’t tell you how to install it) <-- ahah i tought the same thing, pretty classic from Microsoft.

ahsar said...

Thanks, it came in handy!

Anonymous said...

MSFTarDocumentation ... it doesn't get any better than this except their tard linkjockey engineers wasting the multiverse's time across the multidimensional MSFTardTimeSuck....

You have the sincere gratitude of the next schmuck...

Personally I think they just wanna hit you 4 bandwidth charges on AzureHell.....

s3browser said...

Thank you! :) you saved us a lot of time.

Gilbert said...

Thanks, mate. You helped a lot.

Gilbert said...

Thanks mate, you helped a lot.

Krishna said...

Thanks a lot , Your post, made in 2009, still helping people in 2012 :)

Anonymous said...

Helped me to find the settings again.
Thanks

Gert-Jan said...

The exact right level of description. In other words: clear an simple. Thanks a bunch.

Anonymous said...

Thanks, it helped me out :)

pmarsh said...

Thanks man, you rock. A little confused how Enable Dynamic Content Compression is checked and grayed out. An info bubble in Alerts tells me the Role is not installed. So does this mean IIS has been trying to compress content but it had no means how to do it?

pak gendoet said...

Jual aneka barang ONLINE.

bisa di pilih mana yang pingin di order.

<----------------------------------->
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
http://bantalsilikon01.blogspot.com/
<----------------------------------->

<----------------------------------->
http://bumbupecel1.blogspot.com/
http://bumbupecel1.blogspot.com/
http://bumbupecel1.blogspot.com/
http://bumbupecel1.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/
http://kopiluwakliar01.blogspot.com/

<----------------------------------->
Terima HARGA GROSIR dan termasuk ONGKIR

http://marinirseo.blogspot.com/
http://marinirseo.blogspot.com/
http://marinirseo.blogspot.com/
http://marinirseo.blogspot.com/

CP : 085-635-945-40