Microsoft Internet Information Server (IIS server) is an Internet file and application server included in the Microsoft Windows NT server operating system. IIS server version 4.0 is packed with Windows NT 4.0 options and can be shipped through free downloads or on a CD-ROM. It is also included in all new Windows NT versions.
Let's take a look at how to configure HTTP Gzip in IIS Server 6.0.
1) Open the Internet Information Service (IIS server) manager, right-click "website"-> "properties", and select "service ". In the HTTP compression box, select "compressing Application Files" and "compressing static files", and set "temporary directory" and "maximum temporary directory limit" as needed ";
2) in the Internet Information Service (IIS server) manager, right-click "Web Service extension"-> "Add a new Web Service extension ...", In the new Web Service Extension box, enter the extension "HTTP Compression" and add the required file "C: \ WINDOWS \ system32 \ inetsrv \ gzip. dll, the Windows System directory may vary depending on your installation, select "set extension status to allow ";
3) Open C: \ Windows \ System32 \ inetsrv \ meteBase in the text editor. xml (backup is recommended), find locetion = "/LM/W3SVC/Filters/Compression/gzip", and set HcDoDynamicCompression to "TRUE" If dynamic files need to be compressed ", add the dynamic file suffix you want to compress in HcFileExtensions, such as aspx.
To Compress static files, set HcDoStaticCompression and HcDoOnDemandCompression to "TRUE", and add the suffix of the static files to be compressed in HcFileExtensions, such as xml and css; hcDynamicCompressionLevel and HcOnDemandCompLevel indicate the required compression rate. The smaller the number, the lower the compression rate;
4) Save the meteBase. xml file after editing. If the file cannot be saved, it may be used by the IIS server. Choose Start> Administrative Tools> services and stop IIS Admin Service. Then, save the settings;
5) restart the IIS server. You can go to the HTTP compression test site to verify the results.