A, first of all, we set out the following configuration steps, specifically as follows:
Enable the GZIP compression step
1, click "Start"-"Administrative Tools"-"Internet Information Services (IIS) Manager", open IIS Manager;
2. Open IIS Manager
Double-click the local computer in IIS Manager, display the IIS list on the right side of the computer, and right-click on the Web site to select Properties;
3, "website" on the right key to select Properties, open the Site property interface;
4, click the "Services" tab, select "Compress application Files" and "Compressed static files", at the same time set the maximum capacity of the temporary directory, the initial can be limited to about 1G;
5. Return to Internet Information Services (IIS) Manager, right-click Web Service extensions, pop-up Web service Extensions menu;
6. Web Service Extensions, select "Add a new Web service extension (a)";
In the new Web service Extension box, enter the extension "httpcompression" and add "required files" as C:windowssystem32 inetsrv[url=http://www.wenjian.net/file/ Gzip.dll.html] [color= #000000]gzip.dll[/color][/url], where the Windows system directory may be different depending on your installation, select "Set extension status to allow";
7, the use of a text editor to open C:windowssystem32inetsrvmetabase.xml (recommended backup), in the file search HcScriptFileExtensions, set to compress the file suffix name, the system defaults to the ASP, [ Url=http://www.wenjian.net][color= #000000]dll[/color][/url] and EXE, add aspx, PHP, JSP, etc. according to the format, then search hcfileextensions and increase shtm , shtml, JS, CSS, SWF, Mid, XML, MP3 and other static file formats;
8, in the operation of the input "net stop iisadmin/y" Stop the IIS service, after the completion of the operation to save MetaBase.xml;
In Run, enter "iisreset" to restart the IIS service;
9, after the completion of the setup, you can open the most well-known verification web site to verify, find the following diagram to verify the window real-time acceleration, enter the URL, click the "Analyze Url" button to verify;
Perform validation completion and display the interface shown in the following figure. If the status of document status is compressed, the compression is successful.
10, because some test site is sometimes not accurate to let everyone depressed, a lot of people will be super depressed here, why some of the test can not, so in addition to the test site above I list a few pro test available testing site!
B, if you follow the above steps to complete the configuration and the above URL test or not, please check the following items to ensure that the problem is resolved!
1, check MetaBase.xml is not you typo or change the problem, restore the next backup to try again;
2, check the name of the Web service extension, this I did not test, should be any name can, but in order to ensure that no problem or according to the name of the tutorial;
3, if you change the default storage location of gzip compression, check whether you set the directory to the IIS_WPG group write permission, if not added;