Hot Link
Myrmidons
 
 
Endless Computer

IIS Compression in IIS 6.0
Open IIS console: Go to All Tasks >> backup/restore configuration

Create Backup (IIS6 metadatabase is an XML file)

Configure backup: you can encrypt your backup copy with password

Check backup point

Go to Web Sites and right click to get to Properties

Go to Service tab >> check Compress application files and Compress static files, you can create temporary directory to hold all the compressed files but make sure the IUSR_machine account (your server name) have the write/read permission. You can also set the limit on the temporary directory size

Go to Web Service Extensions and click add a new web service extension

Name this new extension with HTTP Compression or whatever you like to call it and click Add button

Locate the gzip.dll in C:\Windows\system32\inetsrv directory

Don't forget to set extension status to Allowed

Google
Let's locate the metabase.xml so we can begin the editing process: Open Windows Explorer and go to C:\WINDOWS\system32\inetsrv and look for MetaBase.xml

Open the MetaBase.xml with Notepad and search for <IIsCompressionScheme, you should find both deflate and gzip: edit the HcScriptFileExtensions for whatever other web service extension that you have added to your IIS6 for example aspx, asmx, pl, py or php...etc. Do it for both defalte and gzip

Before we finish up with editing MetaBase.xml, we need to set the HcDynamicCompressionLevel for both deflate and gzip, you can chose between 0 to 10 ( 10 being the highest level and it will consume more CPU time)

Restart IIS6, Open IIS6 console, right click on the local computer and go to All Tasks >> Restart IIS...

That's it!


Google