Enabling HTTP Compression in IIS 6.0

Posted on 4/13/2008 5:32:00 PM by sbeeh

Send to a Friend:

1.       Open up IIS and right-click on the Web Sites node and go to Properties. Click on the Service tab. As shown in FIGURE 1

1.       Check  compress application files checkbox

2.       Check  compress static files checkbox

3.       Go to the Web Service Extensions node. Right-click in the right pane, and click Add a new Web service extension

 

5.       Click on Add. Choose C:\WINDOWS\system32\inetsrv\gzip.dll (your path may be different, but that is doubtful), and click OK. Check the Set extension status to Allowed check box, and click OK.

 

6.       Open up Windows Explorer and go to C:\Windows\System32\inetsrv. Find MetaBase.xml and make a copy (you can just highlight it and do a Ctrl-C, then a Ctrl-P to make a copy of MetaBase.xml). Now open up MetaBase.xml in a text editor.

 

7.        Find the <IIsCompressionScheme/> section. Be careful, there are two sections here: one for deflate and one for gzip. We want gzip so the Location attribute of the element will have the following value:   Location ="/LM/W3SVC/Filters/Compression/gzip"

 

8.       For this example, just add aspx to the HcScriptFileExtensions section as I did, but don’t try to save. It won’t work because the file is locked by default if IIS is running.

9.       Final step is to do an IIS shutdown and restart by right-clicking in Internet Information Services node and then click All Tasks, Restart IIS. You can test at http://www.pipeboost.com, as shown in FIGURE 4.

 

 



Comments


7/29/2009 5:00:03 AM

Great post! Keep up the good work!

Voguishchic

12/29/2009 12:42:26 PM

I love reading your posts. I wish you a Happy New Year!

Niche Blueprint 2.0 Review

1/9/2010 1:20:38 AM

Do you make money out of this blog? just curious

cash loans

1/16/2010 7:45:15 AM

For our own success to be real, it must contribute to the success of others.

personal loans

1/18/2010 11:30:00 AM

Wealth is the product of man's capacity to think.

payday loans

1/20/2010 10:01:10 PM

Tomorrow is often the busiest day of the week.

payday loans

1/26/2010 1:18:14 AM

Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction.

payday loans

2/2/2010 10:10:47 AM

Pretend that every single person you meet has a sign around his or her neck that says, Make Me Feel Important. Not only will you succeed in sales, you will succeed in life.

Loans in Washington

2/19/2010 2:34:00 PM

This is a pretty fluent writing style you have here. keep up the good work.

Coupons