![]() |
Web Development »
ASP.NET »
Howto
Intermediate
License: The Code Project Open License (CPOL)
Enable Gzip compression in IIS 6.0 for ASP.NET 2.0 websitesBy ToddHileHofferHow to enable Gzip compression in IIS6.0 for ASP.NET 2.0 websites. |
ASP.NET, WebForms, Architect, Dev, SysAdmin
|
|
Advanced Search |
|
|
|
||||||||||||||||
This step by step guide will show you how to enable Gzip compression to work with ASP.NET 2.0. Compressing the output should make your websites faster, especially when being viewed via a slow connection.
Expand IIS Manager. Right click on Websites. Click Properties. Click the Service tab. Check the boxes to enable compression.

You can download the free tool from Microsoft here.
Open the IIS Metabase Explorer. It is part of the resource kit you just installed. Expand LM>W3SVC>Filters>Compression. You will need to edit both gzip and deflate. Find the item with the name HcScriptFileExtensions. Add the values aspx, axd, asmx, and css. Repeat process for gzip and deflate. Find HcDynamicCompressionLevel and set it to something higher than 0.

That's it. To verify that you have everything working correctly, you can use the free tool YSlow for Fire Bug.
| You must Sign In to use this message board. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 19 Nov 2008 Editor: Smitha Vijayan |
Copyright 2008 by ToddHileHoffer Everything else Copyright © CodeProject, 1999-2009 Web11 | Advertise on the Code Project |