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

27 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?

Bilal said...

Thanks a lot that was very helpful..

Anonymous said...

I installed exchange on a server Windows 2008 R2 (Exchange 2010), this is server is not a DC but installer do all the ADPrep ect. Now trying to install SP3 and got error -- some controls aren't valid. setup encountered a problem while validating the state of Active Directory: Could not find and Domain Controller in domain xyz.com. Anyone have an idea?

Yendor Nemingha said...

thanks heaps - helped solve a nasty problem. After our server reboot Dynamic compression was enabled for the web site but not installed as a feature! Installing it and turning off/on fixed one problem. Now for the next hurdle :-)

Anonymous said...

Cheers man, helped me out.

Taibai Li said...

qihang0611coach outlet store online
pandora jewelry
michael kors outlet
oakley sunglasses
coach factory outlet
christian louboutin sale
coach outlet
true religion jeans
toms shoes
nike air max
chanel online shop
ralph lauren
ray ban sunglass
polo ralph lauren
tory burch outlet
burberry outlet online
gucci outlet online
ray ban uk
kate spade uk
cheap ray ban sunglasses
ray ban glasses
cheap jordans
coach outlet
true religion
toms outlet
michael kors bags
michael kors outlet online
coach outlet online
michael kors bag
q