How to enable http compression on IIS 6.0

By Emanuele Bartolesi at March 20, 2009 08:33
Filed Under: Asp.net, IIS

With this simple eight steps, you can enable the http compression on IIS 6.
It is useful if your application has very hard pages, but the compression requires much cpu usage.

1. Open a command prompt, type net stop iisadmin and press ENTER.

2. Type cd c:\inetpub\adminscripts and press ENTER.

3. Type CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx" and press ENTER.

4. Type CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "aspx" "asmx" and press ENTER.

5. Type CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/GZIP/HcDynamicCompressionLevel "9" and press ENTER.

6. Type CSCRIPT.EXE ADSUTIL.VBS SET W3Svc/Filters/Compression/DEFLATE/HcDynamicCompressionLevel "9" and press ENTER.

7. Type cscript.exe adsutil.vbs set W3SVC/ID/Root/WebServiceTG/DoDynamicCompression True and press ENTER. (ID is the identifier of the application that you can find on the coloumn Identifier of IIS Manager)

8. Type net start w3svc and press ENTER.

Comments

9/21/2009 4:45:10 AM #

We are a group of volunteers and starting a new initiative in a community. Your blog provided us valuable information to work on.You have done a marvellous job!

payday loans United States

10/20/2009 6:54:26 PM #

Just wanted to say thanks for this.

fast cash advance United States

11/8/2009 2:53:10 AM #

I like what I see. keep it going

payday loans United States

11/27/2009 5:32:22 AM #

Hi webmaster, your site's design is simple and clean and loving it. Your posts are nice. Please keep them coming. Best Regards!!

funny games

11/28/2009 6:12:30 PM #

In most cases I don’t make comments on blogs, but I would like to mention that this post really forced me to do so. Really nice post!

Electronic Fax United States

11/30/2009 2:48:24 AM #

Beautiful good post. I just bumbled upon your blog and needed to say that I have really enjoyed reading your blog posts. Any way, I will be subscribing to your feed and I hope you post again very soon.

need bad breath help United States

11/30/2009 1:19:20 PM #

i've been searching for some time for smthing like this .. luck after all is more advanced than search engines

payday loans United States

12/1/2009 4:44:53 AM #

At Long Last! A pertinent, coherent post concerning a subject matter that so much logic is missing. Many thanks for sharing this artistic and rational commentary with the world. We definitely need more wisdom like you have shown here. I will very much appreciate subscribing to your feed if you have one. I treasure it very much

Rowing machine mats United States

12/2/2009 10:34:00 AM #

Substantially, the post is in reality the greatest on this deserving topic. I concur with your conclusions and will eagerly look forward to your future updates. Saying thanks will not just be adequate, for the exceptional clarity in your writing. I will immediately grab your rss feed to stay abreast of any updates. Pleasant work and much success in your business dealings!

Luigi Fulk

About me

I will also give you some useful tips, based on the modest wisdom gained during the years that I've worked as a developer and project manager.

Widget

Ohloh profile for Emanuele Bartolesi

 

Wakoopa

Software tracking

 

Software tracking

from Amazon



hacker emblem



Scarica il pdf di Game
Rivista Game di videogiochi
Trucchi videogiochi