<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Speed up WordPress on IIS 7.0</title>
	<atom:link href="http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:19:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Francesco Cosentino</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1957</link>
		<dc:creator>Francesco Cosentino</dc:creator>
		<pubDate>Thu, 06 May 2010 13:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1957</guid>
		<description>A good post. 
I&#039;m using WordPress running under IIS7.5 with MS SQL Server 2008 x64 as database.
I prefer to flag the file notification change option, this setting prevents the missing confirmation message when posting new data.
I suggest you to prevent caching under the wp-admin directory! This could help ;)
Let me know and visit our blog!
F.</description>
		<content:encoded><![CDATA[<p>A good post.<br />
I&#8217;m using WordPress running under IIS7.5 with MS SQL Server 2008 x64 as database.<br />
I prefer to flag the file notification change option, this setting prevents the missing confirmation message when posting new data.<br />
I suggest you to prevent caching under the wp-admin directory! This could help <img src='http://ruslany.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Let me know and visit our blog!<br />
F.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1902</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Tue, 20 Apr 2010 10:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1902</guid>
		<description>OK

I Changed the rule to check if the index.html file exists to this -

&lt;add input=&quot;{DOCUMENT_ROOT}\wp-content\cache\supercache\{HTTP_HOST}\blog\{R:1}\index.html&quot; matchType=&quot;IsFile&quot; /&gt;

And that works also, it actually loads noticeably faster without hardly a browser post back, though the way it was before I made this change was also pretty instantaneous, I wouldn&#039;t have noticed had it not been doing this one after the other and the last time was super quick. So why would it work both times, if this last time is correct?</description>
		<content:encoded><![CDATA[<p>OK</p>
<p>I Changed the rule to check if the index.html file exists to this -</p>
<p>&lt;add input=&quot;{DOCUMENT_ROOT}\wp-content\cache\supercache\{HTTP_HOST}\blog\{R:1}\index.html&quot; matchType=&quot;IsFile&quot; /&gt;</p>
<p>And that works also, it actually loads noticeably faster without hardly a browser post back, though the way it was before I made this change was also pretty instantaneous, I wouldn&#8217;t have noticed had it not been doing this one after the other and the last time was super quick. So why would it work both times, if this last time is correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1901</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Tue, 20 Apr 2010 10:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1901</guid>
		<description>Sorry I didn&#039;t encode the XML

The Rewrite Rule is set up in the Web.Config inside of this subfolder and the pattern to match and rule is – 

&lt;rule name=&quot;WP Super Cache&quot; enabled=&quot;true&quot; patternSyntax=&quot;ECMAScript&quot; stopProcessing=&quot;true&quot;&gt;
          &lt;match url=&quot;(.*)&quot; /&gt;

The URL Rewrite rule for the WP Super Catch has this for checking if the file exists -

&lt;add input=&quot;{DOCUMENT_ROOT}\wp-content\cache\supercache\{HTTP_HOST}\{R:1}\index.html&quot; matchType=&quot;IsFile&quot; /&gt;

And the action type is this -

&lt;action type=&quot;Rewrite&quot; url=&quot;wp-content/cache/supercache/{HTTP_HOST}/blog/{R:1}/index.html&quot; /&gt;

When I check the page a second time, it loads quickly from the Super Cache and I check the source and it reads as follows: 

&lt;!-- Dynamic page generated in 0.990 seconds. --&gt;
&lt;!-- Cached page generated by WP-Super-Cache on 2010-04-20 02:51:42 --&gt;
&lt;!-- super cache --&gt;

Also my regular WP Rewrite rule for Permalinks is as follows:

&lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt;
          &lt;match url=&quot;*&quot; /&gt;
          &lt;conditions&gt;
            &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; /&gt;
            &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; /&gt;
          &lt;/conditions&gt;
          &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot; /&gt;
        &lt;/rule&gt;

So if you can fill that in with the last post, you&#039;ll see what I mean sorry about that.</description>
		<content:encoded><![CDATA[<p>Sorry I didn&#8217;t encode the XML</p>
<p>The Rewrite Rule is set up in the Web.Config inside of this subfolder and the pattern to match and rule is – </p>
<p>&lt;rule name=&quot;WP Super Cache&quot; enabled=&quot;true&quot; patternSyntax=&quot;ECMAScript&quot; stopProcessing=&quot;true&quot;&gt;<br />
          &lt;match url=&quot;(.*)&quot; /&gt;</p>
<p>The URL Rewrite rule for the WP Super Catch has this for checking if the file exists -</p>
<p>&lt;add input=&quot;{DOCUMENT_ROOT}\wp-content\cache\supercache\{HTTP_HOST}\{R:1}\index.html&quot; matchType=&quot;IsFile&quot; /&gt;</p>
<p>And the action type is this -</p>
<p>&lt;action type=&quot;Rewrite&quot; url=&quot;wp-content/cache/supercache/{HTTP_HOST}/blog/{R:1}/index.html&quot; /&gt;</p>
<p>When I check the page a second time, it loads quickly from the Super Cache and I check the source and it reads as follows: </p>
<p>&lt;!&#8211; Dynamic page generated in 0.990 seconds. &#8211;&gt;<br />
&lt;!&#8211; Cached page generated by WP-Super-Cache on 2010-04-20 02:51:42 &#8211;&gt;<br />
&lt;!&#8211; super cache &#8211;&gt;</p>
<p>Also my regular WP Rewrite rule for Permalinks is as follows:</p>
<p>&lt;rule name=&quot;wordpress&quot; patternSyntax=&quot;Wildcard&quot;&gt;<br />
          &lt;match url=&quot;*&quot; /&gt;<br />
          &lt;conditions&gt;<br />
            &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; /&gt;<br />
            &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; /&gt;<br />
          &lt;/conditions&gt;<br />
          &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot; /&gt;<br />
        &lt;/rule&gt;</p>
<p>So if you can fill that in with the last post, you&#8217;ll see what I mean sorry about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1900</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Tue, 20 Apr 2010 10:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1900</guid>
		<description>@Ruslany,

Thanks for your reply. I have a detailed explanation of what is happening, but it&#039;s confusing, according to what you&#039;ve explained and what I know of the URL Rewrite Module. I&#039;ll explain below, I think we&#039;re close to having a handle on a confusing issue.

So as stated above, my Wordpress blog is set up in a subfolder of my main site like this: http://www.example.com/blog/

The Rewrite Rule is set up in the Web.Config inside of this subfolder and the pattern to match and rule is - 


          

The URL Rewrite rule for the WP Super Catch has this for checking if the file exists -



And the action type is this -



It would seem that the condition to check that the file exists is missing the &quot;blog\&quot; before the {R:1} but when I navigate to a post on my WP blog the post shows correctly with no issues, the folders and index.html file is created by WP Super Cache under the supercache subfolder of cache in the wp-content folder. The folder structure is exactly as it should be, with the blog subfolder in the path.

When I check the page a second time, it loads quickly from the Super Cache and I check the source and it reads as follows: 

&lt;!-- Dynamic page generated in 0.990 seconds. --&gt;
&lt;!-- Cached page generated by WP-Super-Cache on 2010-04-20 02:51:42 --&gt;
&lt;!-- super cache --&gt;

So this indicates that everything is working fine, the Super Cache is active. But according to the &quot;blog/&quot; not being in the condition that the File Exist, it shouldn&#039;t be. Any idea as to what is going on and if there&#039;s something to fix?

Also my regular WP Rewrite rule for Permalinks is as follows:


          
          
            
            
          
          
        

This is set up in the Web.config of the blog subfolder and works, but again the lack of having the &quot;blog/&quot; folder mentioned in the rule seems like it wouldn&#039;t allow it to work, if you have any insight into why it does work, please let me know.

I&#039;ll keep on trying different combination and seeing what happens and note anything worthwhile here.

I&#039;ll have to look up doing the Failed Tracing with URL Rewrite, last time I looked into that it was involved. Wouldn&#039;t the RegXp testing feature in the URL Module within the IIS 7 Manager tell me if there&#039;s a match? Or at least tell me what the R:1 is, so I can tell, right?</description>
		<content:encoded><![CDATA[<p>@Ruslany,</p>
<p>Thanks for your reply. I have a detailed explanation of what is happening, but it&#8217;s confusing, according to what you&#8217;ve explained and what I know of the URL Rewrite Module. I&#8217;ll explain below, I think we&#8217;re close to having a handle on a confusing issue.</p>
<p>So as stated above, my WordPress blog is set up in a subfolder of my main site like this: <a href="http://www.example.com/blog/" rel="nofollow">http://www.example.com/blog/</a></p>
<p>The Rewrite Rule is set up in the Web.Config inside of this subfolder and the pattern to match and rule is &#8211; </p>
<p>The URL Rewrite rule for the WP Super Catch has this for checking if the file exists -</p>
<p>And the action type is this -</p>
<p>It would seem that the condition to check that the file exists is missing the &#8220;blog\&#8221; before the {R:1} but when I navigate to a post on my WP blog the post shows correctly with no issues, the folders and index.html file is created by WP Super Cache under the supercache subfolder of cache in the wp-content folder. The folder structure is exactly as it should be, with the blog subfolder in the path.</p>
<p>When I check the page a second time, it loads quickly from the Super Cache and I check the source and it reads as follows: </p>
<p><!-- Dynamic page generated in 0.990 seconds. --><br />
<!-- Cached page generated by WP-Super-Cache on 2010-04-20 02:51:42 --><br />
<!-- super cache --></p>
<p>So this indicates that everything is working fine, the Super Cache is active. But according to the &#8220;blog/&#8221; not being in the condition that the File Exist, it shouldn&#8217;t be. Any idea as to what is going on and if there&#8217;s something to fix?</p>
<p>Also my regular WP Rewrite rule for Permalinks is as follows:</p>
<p>This is set up in the Web.config of the blog subfolder and works, but again the lack of having the &#8220;blog/&#8221; folder mentioned in the rule seems like it wouldn&#8217;t allow it to work, if you have any insight into why it does work, please let me know.</p>
<p>I&#8217;ll keep on trying different combination and seeing what happens and note anything worthwhile here.</p>
<p>I&#8217;ll have to look up doing the Failed Tracing with URL Rewrite, last time I looked into that it was involved. Wouldn&#8217;t the RegXp testing feature in the URL Module within the IIS 7 Manager tell me if there&#8217;s a match? Or at least tell me what the R:1 is, so I can tell, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1765</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Mon, 15 Mar 2010 17:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1765</guid>
		<description>@Rafael,

I think your rewrite rule is correct. I also noticed recently that when WordPress is setup in a subfolder, then this subfolder needs to be included in the rewrite logic. You need to make sure that you include the subfolder in the condition that checks the file existence and then in the action url.

The best way to ensure that your rule is setup correctly is to enable &lt;a href=&quot;http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/&quot; rel=&quot;nofollow&quot;&gt;Failed Request Tracing&lt;/a&gt; and check if the rule was evaluated successfully.

I have never tried the gzip compression with the wp-super-cache on windows. I do not know if it will work or not.</description>
		<content:encoded><![CDATA[<p>@Rafael,</p>
<p>I think your rewrite rule is correct. I also noticed recently that when WordPress is setup in a subfolder, then this subfolder needs to be included in the rewrite logic. You need to make sure that you include the subfolder in the condition that checks the file existence and then in the action url.</p>
<p>The best way to ensure that your rule is setup correctly is to enable <a href="http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/" rel="nofollow">Failed Request Tracing</a> and check if the rule was evaluated successfully.</p>
<p>I have never tried the gzip compression with the wp-super-cache on windows. I do not know if it will work or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1757</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Sun, 14 Mar 2010 09:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1757</guid>
		<description>Hi Ruslany,

Thanks for this article it helps running a WP blog on IIS 7 easier. I set up my WP-Supercache like you described in the article.

I wanted to check with you that my Rewrite rule was correct since it appears to be different than what you described in the comment about using sub-folders.

So my site structure is like this: 

http://www.mainsite.com/blog/

And WP is in the blog directory. So my rewrite rule is like this:

wp-content/cache/supercache/{HTTP_HOST}/blog/{R:1}/index.html

The mach URL rule uses Regular Expression with this as the pattern: (.*)

I check the pages and it works, the sub folders are created under the supercache folder structure with the index.html pages and I check the Page Source and see the Generated by WP-Supercache on the bottom after refreshing and the timestamp is the same, I&#039;m just wondering since it seems to be different in the Rewrite rule that what you described. In the response to Gail&#039;s comment about subfolders you said to not count the subfolder, so I&#039;m confused a little.

Also the gzip compression is not set up, should I turn this on in the WP-Supercache admin or should I do that on the IIS 7 admin? I&#039;m pretty sure I shouldn&#039;t do both, right?</description>
		<content:encoded><![CDATA[<p>Hi Ruslany,</p>
<p>Thanks for this article it helps running a WP blog on IIS 7 easier. I set up my WP-Supercache like you described in the article.</p>
<p>I wanted to check with you that my Rewrite rule was correct since it appears to be different than what you described in the comment about using sub-folders.</p>
<p>So my site structure is like this: </p>
<p><a href="http://www.mainsite.com/blog/" rel="nofollow">http://www.mainsite.com/blog/</a></p>
<p>And WP is in the blog directory. So my rewrite rule is like this:</p>
<p>wp-content/cache/supercache/{HTTP_HOST}/blog/{R:1}/index.html</p>
<p>The mach URL rule uses Regular Expression with this as the pattern: (.*)</p>
<p>I check the pages and it works, the sub folders are created under the supercache folder structure with the index.html pages and I check the Page Source and see the Generated by WP-Supercache on the bottom after refreshing and the timestamp is the same, I&#8217;m just wondering since it seems to be different in the Rewrite rule that what you described. In the response to Gail&#8217;s comment about subfolders you said to not count the subfolder, so I&#8217;m confused a little.</p>
<p>Also the gzip compression is not set up, should I turn this on in the WP-Supercache admin or should I do that on the IIS 7 admin? I&#8217;m pretty sure I shouldn&#8217;t do both, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1647</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Wed, 03 Feb 2010 05:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1647</guid>
		<description>If we remove &quot;index.php&quot; from our blog URL it will affect our tweet count of each post.</description>
		<content:encoded><![CDATA[<p>If we remove &#8220;index.php&#8221; from our blog URL it will affect our tweet count of each post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1646</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Wed, 03 Feb 2010 00:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1646</guid>
		<description>@amar: I do not think the super-cache will work with permalink structures that have index.php.

What is the reason not to use the standard permalink structure?</description>
		<content:encoded><![CDATA[<p>@amar: I do not think the super-cache will work with permalink structures that have index.php.</p>
<p>What is the reason not to use the standard permalink structure?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1645</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Tue, 02 Feb 2010 13:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1645</guid>
		<description>We have permalink structure containing &quot;index.php&quot; in it and we cannot remove that text. If we remove it, the super-cache works well. Is there any way by which we can have &quot;index.php&quot; and still super-cache works?
please help.</description>
		<content:encoded><![CDATA[<p>We have permalink structure containing &#8220;index.php&#8221; in it and we cannot remove that text. If we remove it, the super-cache works well. Is there any way by which we can have &#8220;index.php&#8221; and still super-cache works?<br />
please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunnybear</title>
		<link>http://ruslany.net/2008/12/speed-up-wordpress-on-iis-70/comment-page-1/#comment-1291</link>
		<dc:creator>sunnybear</dc:creator>
		<pubDate>Thu, 17 Sep 2009 11:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/?p=136#comment-1291</guid>
		<description>To improve performance of your weblog you can also use Web Optimizer - http://wordpress.org/extend/plugins/web-optimizer/ . It increase client side load speed, applies gzip, merging, minify, caching, and even more for your static assets.</description>
		<content:encoded><![CDATA[<p>To improve performance of your weblog you can also use Web Optimizer &#8211; <a href="http://wordpress.org/extend/plugins/web-optimizer/" rel="nofollow">http://wordpress.org/extend/plugins/web-optimizer/</a> . It increase client side load speed, applies gzip, merging, minify, caching, and even more for your static assets.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
