Raghu's SharePoint Column : SharePoint - My Lifeline!!

Raghu's SharePoint Column

Performance Tuning Using GZIP

Performance Tuning By Enabling HTTP Compression Using GZIP
NOTE: Make sure that you are logged in with an account that has Administrator rights onto the server.
Enabling HTTP Compression on your Windows 2003 Server.
Step 1: Open IIS manager, type “inetmgr” on the run command, you will see IIS Manger window opened.

Step 2: Right click on your local computers, click properties and check mark the box for “Enable direct Metabase Edit” as shown in the figure below and click ok.


Step 3: Expand the server node, right click on the websites node and click properties, you will get a window opened as shown below

Step 4: Click on the service tab on the website properties window, check mark the boxes for compression application files and compress static files under HTTP Compression and click ok

Step 5: Right click on the Web service Extension node on the right pane of the IIS Manager, click on add button, you will get a pop up window for new web service extension, in the extension name textbox type name has HTTP Compression as shown below Step 6: Click on the Add button on the New Web Service Extension properties window, you will get a add file pop up window, click browse button on the add file popup, A open window dialog box will appear, navigate to “C:\WINDOWS\system32\inetsrv”, click on the file gzip.dll on the open window and click open, click ok, check mark the box “Set extension status to allowed” and click ok.

Step 7: Configure Metabase.xml, Open up Windows Explorer and go to C:\Windows\System32\inetsrv. Find MetaBase.xml and make a copy (you can just highlight it and do a Ctrl-C, then a Ctrl-P to make a copy of MetaBase.xml). Now open up MetaBase.xml in a text editor. Find the section. Be careful, there are two sections here: one for deflate and one for gzip. We want gzip so the Location attribute of the element will have the following value:
Location =”/LM/W3SVC/Filters/Compression/gzip”

Step 8. Look for the HcScriptFileExtensions section. Your default should have: asp, axd, and exe. Now add aspx file extension as shown below.
Step 9: Finally close all the windows and reset the IIS.


No comments yet.

Leave a Reply

Protected by WP Anti Spam