<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A R U N &#187; Enable IIS HTTP conditional GET and HTTP compression</title>
	<atom:link href="http://a-r-u-n.com/b/index.php/tag/enable-iis-http-conditional-get-and-http-compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://a-r-u-n.com/b</link>
	<description>....God&#039;s own website....</description>
	<lastBuildDate>Thu, 09 Sep 2010 05:21:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Enable IIS HTTP conditional GET and HTTP compression</title>
		<link>http://a-r-u-n.com/b/index.php/2009/09/enable-iis-http-conditional-get-and-http-compression/</link>
		<comments>http://a-r-u-n.com/b/index.php/2009/09/enable-iis-http-conditional-get-and-http-compression/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 06:03:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Enable IIS HTTP conditional GET and HTTP compression]]></category>

		<guid isPermaLink="false">http://a-r-u-n.com/b/?p=38</guid>
		<description><![CDATA[To enable HTTP compression and Conditional GET please follow these steps- 1. You need to open Metabase.xml from the location &#8211; C:\Windows\System32\inetsrv ******Please take much care in handling this since you are doing this in Metabase file. Any incorrect actions can lead to severe problems. Do it at your own risk****** **Before doing this please [...]]]></description>
			<content:encoded><![CDATA[<p><strong>To enable HTTP compression and Conditional GET please follow these steps-</strong></p>
<p>1. You need to open Metabase.xml from the location &#8211; C:\Windows\System32\inetsrv</p>
<p><em>******Please take much care in handling this since you are doing this in Metabase file. Any incorrect actions can lead to severe problems. Do it at your own risk******</em></p>
<p><em>**Before doing this please make sure your IIS Metabase is directly editable without stopping IIS. If this option is not enabled you can enable it in IIS &gt; properties of server name &gt; under &#8216;Internet Information Services&#8217; tab &gt; check &#8216;Enable Direct Metabase Edit&#8217; check box &gt; hit Ok. Otherwise you will have to stop IIS then open Metabase.xml to proceed further. Either things will work according to your convenience**</em></p>
<pre><strong>And look for the following parameters-</strong></pre>
<p>&lt;IIsCompressionScheme Location =&#8221;/LM/W3SVC/Filters/Compression/deflate&#8221;<br />
HcCompressionDll=&#8221;%windir%\system32\inetsrv\gzip.dll&#8221;<br />
HcCreateFlags=&#8221;0&#8243;<br />
HcDoDynamicCompression=&#8221;TRUE&#8221;<br />
HcDoOnDemandCompression=&#8221;TRUE&#8221;<br />
HcDoStaticCompression=&#8221;FALSE&#8221;<br />
HcDynamicCompressionLevel=&#8221;0&#8243;<br />
HcFileExtensions=&#8221;htm<br />
html<br />
txt&#8221;<br />
HcOnDemandCompLevel=&#8221;10&#8243;<br />
HcPriority=&#8221;1&#8243;<br />
HcScriptFileExtensions=&#8221;asp<br />
dll<br />
exe&#8221;<br />
&gt;<br />
&lt;/IIsCompressionScheme&gt;<br />
&lt;IIsCompressionScheme Location =&#8221;/LM/W3SVC/Filters/Compression/gzip&#8221;<br />
HcCompressionDll=&#8221;%windir%\system32\inetsrv\gzip.dll&#8221;<br />
HcCreateFlags=&#8221;1&#8243;<br />
HcDoDynamicCompression=&#8221;TRUE&#8221;<br />
HcDoOnDemandCompression=&#8221;TRUE&#8221;<br />
HcDoStaticCompression=&#8221;TRUE&#8221;<br />
HcDynamicCompressionLevel=&#8221;0&#8243;<br />
HcFileExtensions=&#8221;htm<br />
html<br />
txt&#8221;<br />
HcOnDemandCompLevel=&#8221;10&#8243;<br />
HcPriority=&#8221;1&#8243;<br />
HcScriptFileExtensions=&#8221;asp<br />
dll<br />
exe&#8221;<br />
&gt;<br />
&lt;/IIsCompressionScheme&gt;<br />
&lt;IIsCompressionSchemes Location =&#8221;/LM/W3SVC/Filters/Compression/Parameters&#8221;<br />
HcCacheControlHeader=&#8221;max-age=86400&#8243;<br />
HcCompressionBufferSize=&#8221;8192&#8243;<br />
HcCompressionDirectory=&#8221;%windir%\IIS Temporary Compressed Files&#8221;<br />
HcDoDiskSpaceLimiting=&#8221;FALSE&#8221;<br />
HcDoDynamicCompression=&#8221;FALSE&#8221;<br />
HcDoOnDemandCompression=&#8221;TRUE&#8221;<br />
HcDoStaticCompression=&#8221;FALSE&#8221;<br />
HcExpiresHeader=&#8221;Wed, 01 Jan 1997 12:00:00 GMT&#8221;<br />
HcFilesDeletedPerDiskFree=&#8221;256&#8243;<br />
HcIoBufferSize=&#8221;8192&#8243;<br />
HcMaxDiskSpaceUsage=&#8221;100000000&#8243;<br />
HcMaxQueueLength=&#8221;1000&#8243;<br />
HcMinFileSizeForComp=&#8221;1&#8243;<br />
HcNoCompressionForHttp10=&#8221;TRUE&#8221;<br />
HcNoCompressionForProxies=&#8221;TRUE&#8221;<br />
HcNoCompressionForRange=&#8221;FALSE&#8221;<br />
HcSendCacheHeaders=&#8221;FALSE&#8221;<br />
&gt;<br />
&lt;/IIsCompressionSchemes&gt;</p>
<p><strong>Change the above to the following-</strong></p>
<p>&lt;IIsCompressionScheme Location =&#8221;/LM/W3SVC/Filters/Compression/deflate&#8221;<br />
HcCompressionDll=&#8221;%windir%\system32\inetsrv\gzip.dll&#8221;<br />
HcCreateFlags=&#8221;0&#8243;<br />
HcDoDynamicCompression=&#8221;TRUE&#8221;<br />
HcDoOnDemandCompression=&#8221;TRUE&#8221;<br />
HcDoStaticCompression=&#8221;TRUE&#8221;<br />
HcDynamicCompressionLevel=&#8221;10&#8243;<br />
HcFileExtensions=&#8221;htm<br />
xml<br />
css<br />
rdf<br />
js<br />
html<br />
txt&#8221;<br />
HcOnDemandCompLevel=&#8221;10&#8243;<br />
HcPriority=&#8221;1&#8243;<br />
HcScriptFileExtensions=&#8221;asp<br />
php<br />
cgi<br />
dll<br />
aspx<br />
asmx<br />
exe&#8221;<br />
&gt;<br />
&lt;/IIsCompressionScheme&gt;<br />
&lt;IIsCompressionScheme Location =&#8221;/LM/W3SVC/Filters/Compression/gzip&#8221;<br />
HcCompressionDll=&#8221;%windir%\system32\inetsrv\gzip.dll&#8221;<br />
HcCreateFlags=&#8221;1&#8243;<br />
HcDoDynamicCompression=&#8221;TRUE&#8221;<br />
HcDoOnDemandCompression=&#8221;TRUE&#8221;<br />
HcDoStaticCompression=&#8221;TRUE&#8221;<br />
HcDynamicCompressionLevel=&#8221;10&#8243;<br />
HcFileExtensions=&#8221;htm<br />
html<br />
xml<br />
css<br />
rdf<br />
js<br />
txt&#8221;<br />
HcOnDemandCompLevel=&#8221;10&#8243;<br />
HcPriority=&#8221;1&#8243;<br />
HcScriptFileExtensions=&#8221;asp<br />
php<br />
cgi<br />
aspx<br />
asmx<br />
dll<br />
exe&#8221;<br />
&gt;<br />
&lt;/IIsCompressionScheme&gt;<br />
&lt;IIsCompressionSchemes Location =&#8221;/LM/W3SVC/Filters/Compression/Parameters&#8221;<br />
HcCacheControlHeader=&#8221;max-age=86400&#8243;<br />
HcCompressionBufferSize=&#8221;8192&#8243;<br />
HcCompressionDirectory=&#8221;%windir%\IIS Temporary Compressed Files&#8221;<br />
HcDoDiskSpaceLimiting=&#8221;TRUE&#8221;<br />
HcDoDynamicCompression=&#8221;FALSE&#8221;<br />
HcDoOnDemandCompression=&#8221;TRUE&#8221;<br />
HcDoStaticCompression=&#8221;FALSE&#8221;<br />
HcExpiresHeader=&#8221;Wed, 01 Jan 1997 12:00:00 GMT&#8221;<br />
HcFilesDeletedPerDiskFree=&#8221;256&#8243;<br />
HcIoBufferSize=&#8221;8192&#8243;<br />
HcMaxDiskSpaceUsage=&#8221;100000000&#8243;<br />
HcMaxQueueLength=&#8221;1000&#8243;<br />
HcMinFileSizeForComp=&#8221;1&#8243;<br />
HcNoCompressionForHttp10=&#8221;FALSE&#8221;<br />
HcNoCompressionForProxies=&#8221;FALSE&#8221;<br />
HcNoCompressionForRange=&#8221;FALSE&#8221;<br />
HcSendCacheHeaders=&#8221;FALSE&#8221;<br />
&gt;<br />
&lt;/IIsCompressionSchemes&gt;</p>
<p>Once the changes are done please save the metabase file.</p>
<p>2. Now goto command prompt and to the following location and type-</p>
<p>C:\Inetpub\AdminScripts&gt;<br />
adsutil set w3svc/filters/compression/parameters/HcDoSta<br />
ticCompression false<br />
HcDoStaticCompression : (BOOLEAN) False</p>
<p>C:\Inetpub\AdminScripts&gt;adsutil set w3svc/filters/compression/parameters/HcDoDyn<br />
amicCompression false<br />
HcDoDynamicCompression : (BOOLEAN) False</p>
<p>C:\Inetpub\AdminScripts&gt;adsutil set w3svc/1234/root/DoStaticCompression true<br />
DoStaticCompression : (BOOLEAN) True</p>
<p>C:\Inetpub\AdminScripts&gt;adsutil set w3svc/1234/root/DoDynamicCompression true<br />
DoDynamicCompression : (BOOLEAN) True</p>
<p><em>Note: The value &#8217;1234&#8242; is website&#8217;s identifier. You can note this in IIS Manager &gt; locate the website &gt; note the identifier or you can find it in site&#8217;s logfile folder name for ex- w3svc1234</em></p>
<p>3. Finally restart IIS.</p>
]]></content:encoded>
			<wfw:commentRss>http://a-r-u-n.com/b/index.php/2009/09/enable-iis-http-conditional-get-and-http-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
