<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Getting IIS 7 to Compress JavaScript</title>
	<atom:link href="http://coderjournal-backend/index.php/2008/04/iis-7-compress-javascript-gzip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/</link>
	<description>while(!(succeed = try()));</description>
	<pubDate>Fri, 21 Nov 2008 02:45:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: DBA notes</title>
		<link>http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/#comment-7576</link>
		<dc:creator>DBA notes</dc:creator>
		<pubDate>Thu, 12 Jun 2008 02:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/?p=196#comment-7576</guid>
		<description>&lt;strong&gt;IIS 如何启用 GZip 压缩...&lt;/strong&gt;

微软 IIS 上如何启用 Gzip 压缩机制? 或许看过 YSlow 优化规则并且正在使用 IIS 的朋友比较关心这个问题。 基本步骤可以参考微软官方指导，直接一点的方式通过命令行执行如下命令启用对动......</description>
		<content:encoded><![CDATA[<p><strong>IIS 如何启用 GZip 压缩&#8230;</strong></p>
<p>微软 IIS 上如何启用 Gzip 压缩机制? 或许看过 YSlow 优化规则并且正在使用 IIS 的朋友比较关心这个问题。 基本步骤可以参考微软官方指导，直接一点的方式通过命令行执行如下命令启用对动&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/#comment-5500</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Tue, 13 May 2008 21:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/?p=196#comment-5500</guid>
		<description>I guess that makes total sense, Doug, since Microsoft in all their wisdom to support their ASP.NET AJAX put JavaScript in in the dynamicContent section.  Because their AJAX is generated on the fly.  Sort of sucks for the 99% of all other JavaScript files that are not automatically generated.</description>
		<content:encoded><![CDATA[<p>I guess that makes total sense, Doug, since Microsoft in all their wisdom to support their ASP.NET AJAX put JavaScript in in the dynamicContent section.  Because their AJAX is generated on the fly.  Sort of sucks for the 99% of all other JavaScript files that are not automatically generated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Mayer</title>
		<link>http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/#comment-5437</link>
		<dc:creator>Doug Mayer</dc:creator>
		<pubDate>Tue, 13 May 2008 05:38:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/?p=196#comment-5437</guid>
		<description>The lines with "application/x-javascript" is part of the dynamicContent node.  I'm not exactly sure why IIS7 feels javascript is dynamic content, but I got this working when I enabled compression of dynamic content through the IIS Manager without messing with any of the MIME types (primarily because I'm not sure if that will break MS AJAX or the like). :)</description>
		<content:encoded><![CDATA[<p>The lines with &#8220;application/x-javascript&#8221; is part of the dynamicContent node.  I&#8217;m not exactly sure why IIS7 feels javascript is dynamic content, but I got this working when I enabled compression of dynamic content through the IIS Manager without messing with any of the MIME types (primarily because I&#8217;m not sure if that will break MS AJAX or the like). <img src='http://www.coderjournal.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/#comment-3290</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Tue, 15 Apr 2008 22:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/?p=196#comment-3290</guid>
		<description>Keith,

Honestly what I found is that IIS 7.0 seems to be slow at putting what is in the web.config in to effect on the site.  Unlike IIS 6.0 where everything was instantaneous, IIS 7.0 seems to take its sweet time with things.  Eventually I just gave up and came back later and the site started compressing JavaScript.</description>
		<content:encoded><![CDATA[<p>Keith,</p>
<p>Honestly what I found is that IIS 7.0 seems to be slow at putting what is in the web.config in to effect on the site.  Unlike IIS 6.0 where everything was instantaneous, IIS 7.0 seems to take its sweet time with things.  Eventually I just gave up and came back later and the site started compressing JavaScript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Pepin</title>
		<link>http://www.coderjournal.com/2008/04/iis-7-compress-javascript-gzip/#comment-3288</link>
		<dc:creator>Keith Pepin</dc:creator>
		<pubDate>Tue, 15 Apr 2008 21:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/?p=196#comment-3288</guid>
		<description>Nick:

I tried to make the same modifications you mentioend for the web.config file so that I could get JS compression working on my defautl website, but I get a 500.19 error.  I'm not that familiar with making changes to the web.config file...  do you have any advice?  I'm pasting the full error message below:

***
  Server Error in Application "Default Web Site"
  HTTP Error 500.19 - Internal Server Error

  Description: The requested page cannot be accessed because the related configuration data for the   page is invalid.

  Error Code: 0x00000000

  Notification: SendResponse

  Module: CustomErrorModule

  Requested URL: http://localhost/docs/EktronJS/default.htm

  Physical Path: C:\source\Engineering\Internal_Documentation\EktronJS\default.htm

  Logon User: Anonymous

  Logon Method: Anonymous

  Handler: StaticFile

  Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

  Config File: \\?\C:\inetpub\wwwroot\web.config

  Config Source:

   40: 	
   41: 		
   42: 			


Thanks for any advice you can offer.
Keith</description>
		<content:encoded><![CDATA[<p>Nick:</p>
<p>I tried to make the same modifications you mentioend for the web.config file so that I could get JS compression working on my defautl website, but I get a 500.19 error.  I&#8217;m not that familiar with making changes to the web.config file&#8230;  do you have any advice?  I&#8217;m pasting the full error message below:</p>
<p>***<br />
  Server Error in Application &#8220;Default Web Site&#8221;<br />
  HTTP Error 500.19 - Internal Server Error</p>
<p>  Description: The requested page cannot be accessed because the related configuration data for the   page is invalid.</p>
<p>  Error Code: 0&#215;00000000</p>
<p>  Notification: SendResponse</p>
<p>  Module: CustomErrorModule</p>
<p>  Requested URL: <a href="http://localhost/docs/EktronJS/default.htm" rel="nofollow">http://localhost/docs/EktronJS/default.htm</a></p>
<p>  Physical Path: C:\source\Engineering\Internal_Documentation\EktronJS\default.htm</p>
<p>  Logon User: Anonymous</p>
<p>  Logon Method: Anonymous</p>
<p>  Handler: StaticFile</p>
<p>  Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=&#8221;Deny&#8221;), or set explicitly by a location tag with overrideMode=&#8221;Deny&#8221; or the legacy allowOverride=&#8221;false&#8221;.</p>
<p>  Config File: \\?\C:\inetpub\wwwroot\web.config</p>
<p>  Config Source:</p>
<p>   40:<br />
   41:<br />
   42: 			</p>
<p>Thanks for any advice you can offer.<br />
Keith</p>
]]></content:encoded>
	</item>
</channel>
</rss>
