ENABLING GZIP FOR FASTER DOWNLOAD OF WEB PAGE.
Enabling gzip at IIS Manager
At IIS Manager (inetmgr.exe) open Web Sites Properties, at Service tab mark Compress application files & Compress static files.
Zombie note :You need to right click the web sites rather than going into specific site and click properties of perticlar website.
Now you need to edit one xml file as below
c:\WINDOWS\system32\inetsrv\MetaBase.xml file.
Zombie note : Before Editing Metabase.xml file stop IIS Services or enable Direct Metabase Edit at Web by going into the peroperties and WEB02 dialog box will appear and check mark the “ENABLE DIRECT METABASE EDIT.”
Edit Metabase.xml with text editor and locate the following lines:
HcFileExtensions
HcScriptFileExtensions
Both of thes keys are mentiond twice in Metabase.xml, for gzip ompression and deflate compression, add the file extention fo gzip compression.
FOLLING SHOWS HOW IT WILL LOOK LIKE
To enable or disable gzip per web site
cscript C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/site#/root/DoStaticCompression False
cscript C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/site#/root/DoDynamicCompression False
adding file extention to be compressed can be preformed with this command:
cscript C:\Inetpub\AdminScripts\adsutil.vbs set W3Svc/Filters/Compression/GZIP/HcFileExtensions "htm" "txt" "doc"
CHHERS…NOW TRY TO BROWSE YOUR SITE AND VOOOIIILLLAAAA,IT IS FASTER THAN BEFORE….ENJOYYYYY
Comments
Post a Comment