<?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: How To Speed Up Wordpress With Nginx And WP Super Cache</title>
	<atom:link href="http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/</link>
	<description>gadget.hacking.gaming.geek.tech</description>
	<lastBuildDate>Thu, 11 Mar 2010 01:25:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: DaVe</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-10029</link>
		<dc:creator>DaVe</dc:creator>
		<pubDate>Sat, 28 Nov 2009 01:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-10029</guid>
		<description>Great examples.  For additional performance tweaks, I&#039;d also recommend using Xcache and the Xcache plugin for Wordpress (&lt;a href=&quot;http://neosmart.net/dl.php?id=12).&quot; target=&quot;_blank&quot;&gt;http://neosmart.net/dl.php?id=12).&lt;/a&gt;  This plugin caches Wordpress variables in memory. 
 
I&#039;d also add the wp-optimize plugin to remove post revisions as well as optimize database tables. &lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;10029&#039;,&#039;DaVe&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;10029&#039;,&#039;DaVe&#039;,&#039;Great examples.  For additional performance tweaks, I&#039;d also recommend using Xcache and the Xcache plugin for Wordpress (&lt;a href=\&quot;http:\/\/neosmart.net\/dl.php?id=12).\&quot; target=\&quot;_blank\&quot;&gt;http:\/\/neosmart.net\/dl.php?id=12).&lt;\/a&gt;  This plugin caches Wordpress variables in memory. \n \nI&#039;d also add the wp-optimize plugin to remove post revisions as well as optimize database tables. &#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Great examples.  For additional performance tweaks, I&#039;d also recommend using Xcache and the Xcache plugin for Wordpress (<a href="http://neosmart.net/dl.php?id=12)." target="_blank"></a><a href="http://neosmart.net/dl.php?id=12)" rel="nofollow">http://neosmart.net/dl.php?id=12)</a>.  This plugin caches Wordpress variables in memory. </p>
<p>I&#039;d also add the wp-optimize plugin to remove post revisions as well as optimize database tables.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('10029','DaVe'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('10029','DaVe','Great examples.  For additional performance tweaks, I&amp;#039;d also recommend using Xcache and the Xcache plugin for Wordpress (&lt;a href=\&quot;http:\/\/neosmart.net\/dl.php?id=12).\&quot; target=\&quot;_blank\&quot;&gt;http:\/\/neosmart.net\/dl.php?id=12).&lt;\/a&gt;  This plugin caches Wordpress variables in memory. \n \nI&amp;#039;d also add the wp-optimize plugin to remove post revisions as well as optimize database tables. '); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Linhares</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9871</link>
		<dc:creator>Frank Linhares</dc:creator>
		<pubDate>Sat, 10 Oct 2009 06:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9871</guid>
		<description>Never really played with MU to be honest. &lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9871&#039;,&#039;Frank Linhares&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9871&#039;,&#039;Frank Linhares&#039;,&#039;Never really played with MU to be honest. &#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Never really played with MU to be honest.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9871','Frank Linhares'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9871','Frank Linhares','Never really played with MU to be honest. '); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Linhares</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9870</link>
		<dc:creator>Frank Linhares</dc:creator>
		<pubDate>Sat, 10 Oct 2009 06:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9870</guid>
		<description>nginx, without question. &lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9870&#039;,&#039;Frank Linhares&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9870&#039;,&#039;Frank Linhares&#039;,&#039;nginx, without question. &#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>nginx, without question.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9870','Frank Linhares'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9870','Frank Linhares','nginx, without question. '); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Linhares</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9869</link>
		<dc:creator>Frank Linhares</dc:creator>
		<pubDate>Sat, 10 Oct 2009 06:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9869</guid>
		<description>tech.nocr.at is currently running with nginx as a load balancer and proxy to two servers running apache.  When I wrote the tutorial it was based on my setup. &lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9869&#039;,&#039;Frank Linhares&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9869&#039;,&#039;Frank Linhares&#039;,&#039;tech.nocr.at is currently running with nginx as a load balancer and proxy to two servers running apache.  When I wrote the tutorial it was based on my setup. &#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>tech.nocr.at is currently running with nginx as a load balancer and proxy to two servers running apache.  When I wrote the tutorial it was based on my setup.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9869','Frank Linhares'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9869','Frank Linhares','tech.nocr.at is currently running with nginx as a load balancer and proxy to two servers running apache.  When I wrote the tutorial it was based on my setup. '); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: HOWTO: Wordpress pretty URLs with Nginx 0.6 (the proper way) at bluebottle</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9868</link>
		<dc:creator>HOWTO: Wordpress pretty URLs with Nginx 0.6 (the proper way) at bluebottle</dc:creator>
		<pubDate>Sat, 10 Oct 2009 04:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9868</guid>
		<description>[...] can find a full example of the required Super Cache config here. [...]&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9868&#039;,&#039;HOWTO: Wordpress pretty URLs with Nginx 0.6 (the proper way) at bluebottle&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9868&#039;,&#039;HOWTO: Wordpress pretty URLs with Nginx 0.6 (the proper way) at bluebottle&#039;,&#039;&#91;...&#93; can find a full example of the required Super Cache config here. &#91;...&#93;&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>[...] can find a full example of the required Super Cache config here. [...]
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9868','HOWTO: Wordpress pretty URLs with Nginx 0.6 (the proper way) at bluebottle'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9868','HOWTO: Wordpress pretty URLs with Nginx 0.6 (the proper way) at bluebottle','&amp;#91;...&amp;#93; can find a full example of the required Super Cache config here. &amp;#91;...&amp;#93;'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vito Botta</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9683</link>
		<dc:creator>Vito Botta</dc:creator>
		<pubDate>Mon, 22 Jun 2009 23:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9683</guid>
		<description>Hi James, thanks.
I have tried spawn-fcgi and as many others have given it up because it&#039;s not really a stable method I think.
PHP-FPM it&#039;s much much better IMO.
I only have to figure out that problem with the application going idle - am not really looking into it right now as am busy with other stuff&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9683&#039;,&#039;Vito Botta&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9683&#039;,&#039;Vito Botta&#039;,&#039;Hi James, thanks.\r\nI have tried spawn-fcgi and as many others have given it up because it\&#039;s not really a stable method I think.\r\nPHP-FPM it\&#039;s much much better IMO.\r\nI only have to figure out that problem with the application going idle - am not really looking into it right now as am busy with other stuff&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hi James, thanks.<br />
I have tried spawn-fcgi and as many others have given it up because it&#8217;s not really a stable method I think.<br />
PHP-FPM it&#8217;s much much better IMO.<br />
I only have to figure out that problem with the application going idle &#8211; am not really looking into it right now as am busy with other stuff
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9683','Vito Botta'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9683','Vito Botta','Hi James, thanks.\r\nI have tried spawn-fcgi and as many others have given it up because it\'s not really a stable method I think.\r\nPHP-FPM it\'s much much better IMO.\r\nI only have to figure out that problem with the application going idle - am not really looking into it right now as am busy with other stuff'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: James D Kirk</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9667</link>
		<dc:creator>James D Kirk</dc:creator>
		<pubDate>Thu, 11 Jun 2009 07:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9667</guid>
		<description>Hey Vito, you probably have seen this page, however, it seems to have code to use for setting up spawn-fcgi to start up and initiate with nginx. Not sure if it will work or help you, but it might be worth your time:

http://chrisjohnston.org/2009/setting-up-a-lemp-stack-ubuntu-904&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9667&#039;,&#039;James D Kirk&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9667&#039;,&#039;James D Kirk&#039;,&#039;Hey Vito, you probably have seen this page, however, it seems to have code to use for setting up spawn-fcgi to start up and initiate with nginx. Not sure if it will work or help you, but it might be worth your time:\r\n\r\nhttp:\/\/chrisjohnston.org\/2009\/setting-up-a-lemp-stack-ubuntu-904&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hey Vito, you probably have seen this page, however, it seems to have code to use for setting up spawn-fcgi to start up and initiate with nginx. Not sure if it will work or help you, but it might be worth your time:</p>
<p><a href="http://chrisjohnston.org/2009/setting-up-a-lemp-stack-ubuntu-904" rel="nofollow">http://chrisjohnston.org/2009/setting-up-a-lemp-stack-ubuntu-904</a>
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9667','James D Kirk'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9667','James D Kirk','Hey Vito, you probably have seen this page, however, it seems to have code to use for setting up spawn-fcgi to start up and initiate with nginx. Not sure if it will work or help you, but it might be worth your time:\r\n\r\nhttp:\/\/chrisjohnston.org\/2009\/setting-up-a-lemp-stack-ubuntu-904'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: James D Kirk</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9666</link>
		<dc:creator>James D Kirk</dc:creator>
		<pubDate>Thu, 11 Jun 2009 06:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9666</guid>
		<description>Good to hear from you, Vito. I&#039;ve not heard about php-fpm, but have heard about nginx + php-fastcgi. I suspect many of these php processors are similar in that they provide nginx with the capability to process the dynamic aspects that Apache has been used for. Either way, got a pretty good handle on my game plan. Tomorrow, though. Very tired tonight!&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9666&#039;,&#039;James D Kirk&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9666&#039;,&#039;James D Kirk&#039;,&#039;Good to hear from you, Vito. I\&#039;ve not heard about php-fpm, but have heard about nginx + php-fastcgi. I suspect many of these php processors are similar in that they provide nginx with the capability to process the dynamic aspects that Apache has been used for. Either way, got a pretty good handle on my game plan. Tomorrow, though. Very tired tonight!&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Good to hear from you, Vito. I&#8217;ve not heard about php-fpm, but have heard about nginx + php-fastcgi. I suspect many of these php processors are similar in that they provide nginx with the capability to process the dynamic aspects that Apache has been used for. Either way, got a pretty good handle on my game plan. Tomorrow, though. Very tired tonight!
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9666','James D Kirk'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9666','James D Kirk','Good to hear from you, Vito. I\'ve not heard about php-fpm, but have heard about nginx + php-fastcgi. I suspect many of these php processors are similar in that they provide nginx with the capability to process the dynamic aspects that Apache has been used for. Either way, got a pretty good handle on my game plan. Tomorrow, though. Very tired tonight!'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vito Botta</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9665</link>
		<dc:creator>Vito Botta</dc:creator>
		<pubDate>Wed, 10 Jun 2009 23:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9665</guid>
		<description>I forgot to say, that once you replace Apache with Nginx, you have no more problems with WP Super Cache&#039;s static files as long as you use a set of rules you can find on Slicehost.
I can post some more details if anyone  needs.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9665&#039;,&#039;Vito Botta&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9665&#039;,&#039;Vito Botta&#039;,&#039;I forgot to say, that once you replace Apache with Nginx, you have no more problems with WP Super Cache\&#039;s static files as long as you use a set of rules you can find on Slicehost.\r\nI can post some more details if anyone  needs.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>I forgot to say, that once you replace Apache with Nginx, you have no more problems with WP Super Cache&#8217;s static files as long as you use a set of rules you can find on Slicehost.<br />
I can post some more details if anyone  needs.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9665','Vito Botta'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9665','Vito Botta','I forgot to say, that once you replace Apache with Nginx, you have no more problems with WP Super Cache\'s static files as long as you use a set of rules you can find on Slicehost.\r\nI can post some more details if anyone  needs.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vito Botta</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9664</link>
		<dc:creator>Vito Botta</dc:creator>
		<pubDate>Wed, 10 Jun 2009 23:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9664</guid>
		<description>Hi James &amp; all,

in the end I have changed my setup by completely replacing Apache with Nginx, also for the serving of PHP pages.

It is much, much faster and works great. I would suggest you do the same. By getting rid of Apache and using only Nginx instead, you will have a much faster web server using much less resources!

I also recommend to patch PHP so that Nginx uses PHP-FPM rather than Lighty&#039;s spanwn-fcgi which is often used but causes a number of issues.

The only issue I am having with PHP-FPM is that after a while the application has been in idle, it automatically shuts down and have to restart it manually; so I need to figure out how to make this automatic.

Apart from this - which I will be looking into as soon as I have some more free time - Nginx+PHP-FPM is definitely the fastest and the lightest (=best) combination I have seen so far.

I believe that also Wordpress.com now uses a similar setup.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9664&#039;,&#039;Vito Botta&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9664&#039;,&#039;Vito Botta&#039;,&#039;Hi James &amp; all,\r\n\r\nin the end I have changed my setup by completely replacing Apache with Nginx, also for the serving of PHP pages.\r\n\r\nIt is much, much faster and works great. I would suggest you do the same. By getting rid of Apache and using only Nginx instead, you will have a much faster web server using much less resources!\r\n\r\nI also recommend to patch PHP so that Nginx uses PHP-FPM rather than Lighty\&#039;s spanwn-fcgi which is often used but causes a number of issues.\r\n\r\nThe only issue I am having with PHP-FPM is that after a while the application has been in idle, it automatically shuts down and have to restart it manually; so I need to figure out how to make this automatic.\r\n\r\nApart from this - which I will be looking into as soon as I have some more free time - Nginx+PHP-FPM is definitely the fastest and the lightest (=best) combination I have seen so far.\r\n\r\nI believe that also Wordpress.com now uses a similar setup.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hi James &amp; all,</p>
<p>in the end I have changed my setup by completely replacing Apache with Nginx, also for the serving of PHP pages.</p>
<p>It is much, much faster and works great. I would suggest you do the same. By getting rid of Apache and using only Nginx instead, you will have a much faster web server using much less resources!</p>
<p>I also recommend to patch PHP so that Nginx uses PHP-FPM rather than Lighty&#8217;s spanwn-fcgi which is often used but causes a number of issues.</p>
<p>The only issue I am having with PHP-FPM is that after a while the application has been in idle, it automatically shuts down and have to restart it manually; so I need to figure out how to make this automatic.</p>
<p>Apart from this &#8211; which I will be looking into as soon as I have some more free time &#8211; Nginx+PHP-FPM is definitely the fastest and the lightest (=best) combination I have seen so far.</p>
<p>I believe that also Wordpress.com now uses a similar setup.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9664','Vito Botta'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9664','Vito Botta','Hi James &amp;amp; all,\r\n\r\nin the end I have changed my setup by completely replacing Apache with Nginx, also for the serving of PHP pages.\r\n\r\nIt is much, much faster and works great. I would suggest you do the same. By getting rid of Apache and using only Nginx instead, you will have a much faster web server using much less resources!\r\n\r\nI also recommend to patch PHP so that Nginx uses PHP-FPM rather than Lighty\'s spanwn-fcgi which is often used but causes a number of issues.\r\n\r\nThe only issue I am having with PHP-FPM is that after a while the application has been in idle, it automatically shuts down and have to restart it manually; so I need to figure out how to make this automatic.\r\n\r\nApart from this - which I will be looking into as soon as I have some more free time - Nginx+PHP-FPM is definitely the fastest and the lightest (=best) combination I have seen so far.\r\n\r\nI believe that also Wordpress.com now uses a similar setup.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: James D Kirk</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9663</link>
		<dc:creator>James D Kirk</dc:creator>
		<pubDate>Wed, 10 Jun 2009 20:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9663</guid>
		<description>Getting your thoughts on Vito Botta&#039;s questions about Nginx serving of the Super Cache files would serve many of us. I&#039;m still doing the research on all of this prior to install and testing, so I&#039;ve only the theory in my head, not the practical experience. I am thinking that there must be a log file somewhere that would help shed light to answer this definitively?

Thanks for the great tutorial and am looking forward to your answers on the last couple of comments.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9663&#039;,&#039;James D Kirk&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9663&#039;,&#039;James D Kirk&#039;,&#039;Getting your thoughts on Vito Botta\&#039;s questions about Nginx serving of the Super Cache files would serve many of us. I\&#039;m still doing the research on all of this prior to install and testing, so I\&#039;ve only the theory in my head, not the practical experience. I am thinking that there must be a log file somewhere that would help shed light to answer this definitively?\r\n\r\nThanks for the great tutorial and am looking forward to your answers on the last couple of comments.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Getting your thoughts on Vito Botta&#8217;s questions about Nginx serving of the Super Cache files would serve many of us. I&#8217;m still doing the research on all of this prior to install and testing, so I&#8217;ve only the theory in my head, not the practical experience. I am thinking that there must be a log file somewhere that would help shed light to answer this definitively?</p>
<p>Thanks for the great tutorial and am looking forward to your answers on the last couple of comments.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9663','James D Kirk'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9663','James D Kirk','Getting your thoughts on Vito Botta\'s questions about Nginx serving of the Super Cache files would serve many of us. I\'m still doing the research on all of this prior to install and testing, so I\'ve only the theory in my head, not the practical experience. I am thinking that there must be a log file somewhere that would help shed light to answer this definitively?\r\n\r\nThanks for the great tutorial and am looking forward to your answers on the last couple of comments.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: tsl</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9659</link>
		<dc:creator>tsl</dc:creator>
		<pubDate>Mon, 08 Jun 2009 00:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9659</guid>
		<description>Hi, I can&#039;t get nginx to work on wpmu. No matter what rules I try I always get a &quot;502 Bad gateway&quot; error when trying to login.

Anyone with similar issues?

&lt;a href=&quot;http://82.182.148.179/tmp/virtual.conf&quot; rel=&quot;nofollow&quot;&gt;My nginx conf&lt;/a&gt;
&lt;a href=&quot;http://82.182.148.179/tmp/fastcgi.conf&quot; rel=&quot;nofollow&quot;&gt;My fastcgi.conf&lt;/a&gt;

Thanks in advance
-tsl-&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9659&#039;,&#039;tsl&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9659&#039;,&#039;tsl&#039;,&#039;Hi, I can\&#039;t get nginx to work on wpmu. No matter what rules I try I always get a \&quot;502 Bad gateway\&quot; error when trying to login.\r\n\r\nAnyone with similar issues?\r\n\r\n&lt;a href=\&quot;http:\/\/82.182.148.179\/tmp\/virtual.conf\&quot; rel=\&quot;nofollow\&quot;&gt;My nginx conf&lt;\/a&gt;\r\n&lt;a href=\&quot;http:\/\/82.182.148.179\/tmp\/fastcgi.conf\&quot; rel=\&quot;nofollow\&quot;&gt;My fastcgi.conf&lt;\/a&gt;\r\n\r\nThanks in advance\r\n-tsl-&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hi, I can&#8217;t get nginx to work on wpmu. No matter what rules I try I always get a &#8220;502 Bad gateway&#8221; error when trying to login.</p>
<p>Anyone with similar issues?</p>
<p><a href="http://82.182.148.179/tmp/virtual.conf" rel="nofollow">My nginx conf</a><br />
<a href="http://82.182.148.179/tmp/fastcgi.conf" rel="nofollow">My fastcgi.conf</a></p>
<p>Thanks in advance<br />
-tsl-
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9659','tsl'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9659','tsl','Hi, I can\'t get nginx to work on wpmu. No matter what rules I try I always get a \&quot;502 Bad gateway\&quot; error when trying to login.\r\n\r\nAnyone with similar issues?\r\n\r\n&lt;a href=\&quot;http:\/\/82.182.148.179\/tmp\/virtual.conf\&quot; rel=\&quot;nofollow\&quot;&gt;My nginx conf&lt;\/a&gt;\r\n&lt;a href=\&quot;http:\/\/82.182.148.179\/tmp\/fastcgi.conf\&quot; rel=\&quot;nofollow\&quot;&gt;My fastcgi.conf&lt;\/a&gt;\r\n\r\nThanks in advance\r\n-tsl-'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vito Botta</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9617</link>
		<dc:creator>Vito Botta</dc:creator>
		<pubDate>Sun, 17 May 2009 12:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9617</guid>
		<description>Hi again,
I&#039;ve got nginx + apache working now with wordpress, and am pretty sure the static files such as images, stylesheets and javascript files are being served by nginx rather than by apache.
In fact, if I stop apache and request any of these static files directly, I can get them.
But this does not happen with wp super cache pages.
Super cache is working and I can see the comments it adds to the end of the html, but if I stop apache and try to see those pages (after making sure those pages are cached to disk once) with the browser (being not logged in wordpress), all I get is &quot;502 bad gateway&quot;. As soon as I start apache, these files are served fine again.
How can I make sure that these files are served by nginx instead, when they exist on disk?
Here is the nginx conf file for the blog I am working on:

http://pastebin.com/m56462fa4.

Am I doing something wrong?
Thanks in advance!&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9617&#039;,&#039;Vito Botta&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9617&#039;,&#039;Vito Botta&#039;,&#039;Hi again,\r\nI\&#039;ve got nginx + apache working now with wordpress, and am pretty sure the static files such as images, stylesheets and javascript files are being served by nginx rather than by apache.\r\nIn fact, if I stop apache and request any of these static files directly, I can get them.\r\nBut this does not happen with wp super cache pages.\r\nSuper cache is working and I can see the comments it adds to the end of the html, but if I stop apache and try to see those pages (after making sure those pages are cached to disk once) with the browser (being not logged in wordpress), all I get is \&quot;502 bad gateway\&quot;. As soon as I start apache, these files are served fine again.\r\nHow can I make sure that these files are served by nginx instead, when they exist on disk?\r\nHere is the nginx conf file for the blog I am working on:\r\n\r\nhttp:\/\/pastebin.com\/m56462fa4.\r\n\r\nAm I doing something wrong?\r\nThanks in advance!&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hi again,<br />
I&#8217;ve got nginx + apache working now with wordpress, and am pretty sure the static files such as images, stylesheets and javascript files are being served by nginx rather than by apache.<br />
In fact, if I stop apache and request any of these static files directly, I can get them.<br />
But this does not happen with wp super cache pages.<br />
Super cache is working and I can see the comments it adds to the end of the html, but if I stop apache and try to see those pages (after making sure those pages are cached to disk once) with the browser (being not logged in wordpress), all I get is &#8220;502 bad gateway&#8221;. As soon as I start apache, these files are served fine again.<br />
How can I make sure that these files are served by nginx instead, when they exist on disk?<br />
Here is the nginx conf file for the blog I am working on:</p>
<p><a href="http://pastebin.com/m56462fa4" rel="nofollow">http://pastebin.com/m56462fa4</a>.</p>
<p>Am I doing something wrong?<br />
Thanks in advance!
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9617','Vito Botta'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9617','Vito Botta','Hi again,\r\nI\'ve got nginx + apache working now with wordpress, and am pretty sure the static files such as images, stylesheets and javascript files are being served by nginx rather than by apache.\r\nIn fact, if I stop apache and request any of these static files directly, I can get them.\r\nBut this does not happen with wp super cache pages.\r\nSuper cache is working and I can see the comments it adds to the end of the html, but if I stop apache and try to see those pages (after making sure those pages are cached to disk once) with the browser (being not logged in wordpress), all I get is \&quot;502 bad gateway\&quot;. As soon as I start apache, these files are served fine again.\r\nHow can I make sure that these files are served by nginx instead, when they exist on disk?\r\nHere is the nginx conf file for the blog I am working on:\r\n\r\nhttp:\/\/pastebin.com\/m56462fa4.\r\n\r\nAm I doing something wrong?\r\nThanks in advance!'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9604</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Thu, 07 May 2009 01:51:28 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9604</guid>
		<description>&lt;a href=&#039;#comment-9490&#039; rel=&quot;nofollow&quot;&gt;@D.Z.&lt;/a&gt; - Yes. tech.nocr.at is running under nginx and wpsupercache.  Been running like that for over 9 month like that.  I have 2 frontend servers that are load balanced with nginx and have wpsupercache cache everything.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9604&#039;,&#039;Frank&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9604&#039;,&#039;Frank&#039;,&#039;&lt;a href=\&#039;#comment-9490\&#039; rel=\&quot;nofollow\&quot;&gt;@D.Z.&lt;\/a&gt; - Yes. tech.nocr.at is running under nginx and wpsupercache.  Been running like that for over 9 month like that.  I have 2 frontend servers that are load balanced with nginx and have wpsupercache cache everything.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><a href='#comment-9490' rel="nofollow">@D.Z.</a> &#8211; Yes. tech.nocr.at is running under nginx and wpsupercache.  Been running like that for over 9 month like that.  I have 2 frontend servers that are load balanced with nginx and have wpsupercache cache everything.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9604','Frank'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9604','Frank','&lt;a href=\'#comment-9490\' rel=\&quot;nofollow\&quot;&gt;@D.Z.&lt;\/a&gt; - Yes. tech.nocr.at is running under nginx and wpsupercache.  Been running like that for over 9 month like that.  I have 2 frontend servers that are load balanced with nginx and have wpsupercache cache everything.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vito Botta</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9600</link>
		<dc:creator>Vito Botta</dc:creator>
		<pubDate>Wed, 06 May 2009 15:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9600</guid>
		<description>Hi, and many thanks for this article which I found searching Digg. 
I am customising a new Wordpress blog which runs on Apache (I use Virtualmin for ease so I am stuck with Apache for now), and was wondering: between Nginx and Varnish, what would you recommend I install in front of Apache?
Many thanks
Vito&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9600&#039;,&#039;Vito Botta&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9600&#039;,&#039;Vito Botta&#039;,&#039;Hi, and many thanks for this article which I found searching Digg. \r\nI am customising a new Wordpress blog which runs on Apache (I use Virtualmin for ease so I am stuck with Apache for now), and was wondering: between Nginx and Varnish, what would you recommend I install in front of Apache?\r\nMany thanks\r\nVito&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hi, and many thanks for this article which I found searching Digg.<br />
I am customising a new Wordpress blog which runs on Apache (I use Virtualmin for ease so I am stuck with Apache for now), and was wondering: between Nginx and Varnish, what would you recommend I install in front of Apache?<br />
Many thanks<br />
Vito
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9600','Vito Botta'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9600','Vito Botta','Hi, and many thanks for this article which I found searching Digg. \r\nI am customising a new Wordpress blog which runs on Apache (I use Virtualmin for ease so I am stuck with Apache for now), and was wondering: between Nginx and Varnish, what would you recommend I install in front of Apache?\r\nMany thanks\r\nVito'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richzendy</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9561</link>
		<dc:creator>Richzendy</dc:creator>
		<pubDate>Fri, 27 Mar 2009 16:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9561</guid>
		<description>&lt;blockquote&gt;&lt;a href=&#039;#comment-8409&#039; rel=&quot;nofollow&quot;&gt;Originally Posted By Glen Lumanau&lt;/a&gt;Thank you for the great articles. It&#039;s works very nice.

But I have 1 question

How can we make nginx as load balancer with session keeping?&lt;/blockquote&gt;

It&#039;s very easy with a ip_hash directive, read:

http://wiki.nginx.org//NginxHttpUpstreamModule&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9561&#039;,&#039;Richzendy&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9561&#039;,&#039;Richzendy&#039;,&#039;&lt;blockquote&gt;&lt;a href=\&#039;#comment-8409\&#039; rel=\&quot;nofollow\&quot;&gt;Originally Posted By Glen Lumanau&lt;\/a&gt;Thank you for the great articles. It\&#039;s works very nice.\r\n\r\nBut I have 1 question\r\n\r\nHow can we make nginx as load balancer with session keeping?&lt;\/blockquote&gt;\r\n\r\nIt\&#039;s very easy with a ip_hash directive, read:\r\n\r\nhttp:\/\/wiki.nginx.org\/\/NginxHttpUpstreamModule&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<blockquote><p><a href='#comment-8409' rel="nofollow">Originally Posted By Glen Lumanau</a>Thank you for the great articles. It&#8217;s works very nice.</p>
<p>But I have 1 question</p>
<p>How can we make nginx as load balancer with session keeping?</p></blockquote>
<p>It&#8217;s very easy with a ip_hash directive, read:</p>
<p><a href="http://wiki.nginx.org//NginxHttpUpstreamModule" rel="nofollow">http://wiki.nginx.org//NginxHttpUpstreamModule</a>
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9561','Richzendy'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9561','Richzendy','&lt;blockquote&gt;&lt;a href=\'#comment-8409\' rel=\&quot;nofollow\&quot;&gt;Originally Posted By Glen Lumanau&lt;\/a&gt;Thank you for the great articles. It\'s works very nice.\r\n\r\nBut I have 1 question\r\n\r\nHow can we make nginx as load balancer with session keeping?&lt;\/blockquote&gt;\r\n\r\nIt\'s very easy with a ip_hash directive, read:\r\n\r\nhttp:\/\/wiki.nginx.org\/\/NginxHttpUpstreamModule'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linux tips &#124; builder2</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9560</link>
		<dc:creator>Linux tips &#124; builder2</dc:creator>
		<pubDate>Thu, 26 Mar 2009 16:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9560</guid>
		<description>[...] How To Speed Up Wordpress With Nginx And WP Super Cache [...]&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9560&#039;,&#039;Linux tips &#124; builder2&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9560&#039;,&#039;Linux tips &#124; builder2&#039;,&#039;&#91;...&#93; How To Speed Up Wordpress With Nginx And WP Super Cache &#91;...&#93;&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>[...] How To Speed Up Wordpress With Nginx And WP Super Cache [...]
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9560','Linux tips | builder2'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9560','Linux tips | builder2','&amp;#91;...&amp;#93; How To Speed Up Wordpress With Nginx And WP Super Cache &amp;#91;...&amp;#93;'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: D.Z.</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9490</link>
		<dc:creator>D.Z.</dc:creator>
		<pubDate>Sun, 25 Jan 2009 14:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9490</guid>
		<description>Me again :)

As for the wp-config.php you don&#039; t need the :8080, example.com is ok.

As for gzip on: Some sources use gzip_static on. I ve tried both and use static.

As for the wp-super-cache rewrite, the lines 

	# all other requests go to Wordpress
	if (!-e $request_filename) {
	rewrite . /index.php last;
	}

result in a permanent redirect to Wordpress&#039; s main index, so i deleted the lines. It&#039;s done at server level and tests file existence without root specified. 

@Frank: Have you ever tested the scenario written in your article by yourself?&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9490&#039;,&#039;D.Z.&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9490&#039;,&#039;D.Z.&#039;,&#039;Me again :)\r\n\r\nAs for the wp-config.php you don\&#039; t need the :8080, example.com is ok.\r\n\r\nAs for gzip on: Some sources use gzip_static on. I ve tried both and use static.\r\n\r\nAs for the wp-super-cache rewrite, the lines \r\n\r\n	# all other requests go to Wordpress\r\n	if (!-e $request_filename) {\r\n	rewrite . \/index.php last;\r\n	}\r\n\r\nresult in a permanent redirect to Wordpress\&#039; s main index, so i deleted the lines. It\&#039;s done at server level and tests file existence without root specified. \r\n\r\n@Frank: Have you ever tested the scenario written in your article by yourself?&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Me again <img src='http://tech.nocr.at/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As for the wp-config.php you don&#8217; t need the :8080, example.com is ok.</p>
<p>As for gzip on: Some sources use gzip_static on. I ve tried both and use static.</p>
<p>As for the wp-super-cache rewrite, the lines </p>
<p>	# all other requests go to Wordpress<br />
	if (!-e $request_filename) {<br />
	rewrite . /index.php last;<br />
	}</p>
<p>result in a permanent redirect to Wordpress&#8217; s main index, so i deleted the lines. It&#8217;s done at server level and tests file existence without root specified. </p>
<p>@Frank: Have you ever tested the scenario written in your article by yourself?
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9490','D.Z.'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9490','D.Z.','Me again :)\r\n\r\nAs for the wp-config.php you don\' t need the :8080, example.com is ok.\r\n\r\nAs for gzip on: Some sources use gzip_static on. I ve tried both and use static.\r\n\r\nAs for the wp-super-cache rewrite, the lines \r\n\r\n	# all other requests go to Wordpress\r\n	if (!-e $request_filename) {\r\n	rewrite . \/index.php last;\r\n	}\r\n\r\nresult in a permanent redirect to Wordpress\' s main index, so i deleted the lines. It\'s done at server level and tests file existence without root specified. \r\n\r\n@Frank: Have you ever tested the scenario written in your article by yourself?'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: D.Z.</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9489</link>
		<dc:creator>D.Z.</dc:creator>
		<pubDate>Sat, 24 Jan 2009 15:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9489</guid>
		<description>Sorry, does this really work? I ve set this up on my WS, and i am redirected to localhost:8080, but it will stay there on 8080 and not on nginx:80. Trying to serve a css file or a gif results in a 301 and redirects me to WP`s document root index.php, but not to the css or gif file.

What are you settings in the wp-config.php? Mine are:

define(&#039;WP_SITEURL&#039;, &#039;http://example.com:8080&#039;);
define(&#039;WP_HOME&#039;, &#039;http://example.com:8080&#039;);
define( &#039;WP_CONTENT_DIR&#039;, $_SERVER[&#039;DOCUMENT_ROOT&#039;] . &#039;wp-content&#039; );
define( &#039;WP_CONTENT_URL&#039;, &#039;http://example.com:8080/wp-content&#039;);

Maybe thats the error?&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9489&#039;,&#039;D.Z.&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9489&#039;,&#039;D.Z.&#039;,&#039;Sorry, does this really work? I ve set this up on my WS, and i am redirected to localhost:8080, but it will stay there on 8080 and not on nginx:80. Trying to serve a css file or a gif results in a 301 and redirects me to WP`s document root index.php, but not to the css or gif file.\r\n\r\nWhat are you settings in the wp-config.php? Mine are:\r\n\r\ndefine(\&#039;WP_SITEURL\&#039;, \&#039;http:\/\/example.com:8080\&#039;);\r\ndefine(\&#039;WP_HOME\&#039;, \&#039;http:\/\/example.com:8080\&#039;);\r\ndefine( \&#039;WP_CONTENT_DIR\&#039;, $_SERVER&#91;\&#039;DOCUMENT_ROOT\&#039;&#93; . \&#039;wp-content\&#039; );\r\ndefine( \&#039;WP_CONTENT_URL\&#039;, \&#039;http:\/\/example.com:8080\/wp-content\&#039;);\r\n\r\nMaybe thats the error?&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, does this really work? I ve set this up on my WS, and i am redirected to localhost:8080, but it will stay there on 8080 and not on nginx:80. Trying to serve a css file or a gif results in a 301 and redirects me to WP`s document root index.php, but not to the css or gif file.</p>
<p>What are you settings in the wp-config.php? Mine are:</p>
<p>define(&#8216;WP_SITEURL&#8217;, &#8216;http://example.com:8080&#8242;);<br />
define(&#8216;WP_HOME&#8217;, &#8216;http://example.com:8080&#8242;);<br />
define( &#8216;WP_CONTENT_DIR&#8217;, $_SERVER['DOCUMENT_ROOT'] . &#8216;wp-content&#8217; );<br />
define( &#8216;WP_CONTENT_URL&#8217;, &#8216;http://example.com:8080/wp-content&#8217;);</p>
<p>Maybe thats the error?
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9489','D.Z.'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9489','D.Z.','Sorry, does this really work? I ve set this up on my WS, and i am redirected to localhost:8080, but it will stay there on 8080 and not on nginx:80. Trying to serve a css file or a gif results in a 301 and redirects me to WP`s document root index.php, but not to the css or gif file.\r\n\r\nWhat are you settings in the wp-config.php? Mine are:\r\n\r\ndefine(\'WP_SITEURL\', \'http:\/\/example.com:8080\');\r\ndefine(\'WP_HOME\', \'http:\/\/example.com:8080\');\r\ndefine( \'WP_CONTENT_DIR\', $_SERVER&amp;#91;\'DOCUMENT_ROOT\'&amp;#93; . \'wp-content\' );\r\ndefine( \'WP_CONTENT_URL\', \'http:\/\/example.com:8080\/wp-content\');\r\n\r\nMaybe thats the error?'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirceu Jr.</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-9338</link>
		<dc:creator>Dirceu Jr.</dc:creator>
		<pubDate>Fri, 12 Dec 2008 19:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-9338</guid>
		<description>Niiiiiicee
Saves my day, nginx power!&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;9338&#039;,&#039;Dirceu Jr.&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;9338&#039;,&#039;Dirceu Jr.&#039;,&#039;Niiiiiicee\r\nSaves my day, nginx power!&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Niiiiiicee<br />
Saves my day, nginx power!
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('9338','Dirceu Jr.'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('9338','Dirceu Jr.','Niiiiiicee\r\nSaves my day, nginx power!'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Linhares</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-8456</link>
		<dc:creator>Frank Linhares</dc:creator>
		<pubDate>Fri, 22 Aug 2008 20:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-8456</guid>
		<description>You are absolutely correct, you have to blow away your supercache rules from .htaccess or else the nginx rules won&#039;t work properly.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;8456&#039;,&#039;Frank Linhares&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;8456&#039;,&#039;Frank Linhares&#039;,&#039;You are absolutely correct, you have to blow away your supercache rules from .htaccess or else the nginx rules won\&#039;t work properly.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>You are absolutely correct, you have to blow away your supercache rules from .htaccess or else the nginx rules won&#8217;t work properly.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('8456','Frank Linhares'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('8456','Frank Linhares','You are absolutely correct, you have to blow away your supercache rules from .htaccess or else the nginx rules won\'t work properly.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-8455</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Fri, 22 Aug 2008 20:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-8455</guid>
		<description>You should not forget to remove supercache rules from .htaccess when you move it to Nginx.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;8455&#039;,&#039;Bob&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;8455&#039;,&#039;Bob&#039;,&#039;You should not forget to remove supercache rules from .htaccess when you move it to Nginx.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>You should not forget to remove supercache rules from .htaccess when you move it to Nginx.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('8455','Bob'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('8455','Bob','You should not forget to remove supercache rules from .htaccess when you move it to Nginx.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Lumanau</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-8409</link>
		<dc:creator>Glen Lumanau</dc:creator>
		<pubDate>Wed, 13 Aug 2008 05:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-8409</guid>
		<description>Thank you for the great articles. It&#039;s works very nice.

But I have 1 question

How can we make nginx as load balancer with session keeping?&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;8409&#039;,&#039;Glen Lumanau&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;8409&#039;,&#039;Glen Lumanau&#039;,&#039;Thank you for the great articles. It\&#039;s works very nice.\r\n\r\nBut I have 1 question\r\n\r\nHow can we make nginx as load balancer with session keeping?&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for the great articles. It&#8217;s works very nice.</p>
<p>But I have 1 question</p>
<p>How can we make nginx as load balancer with session keeping?
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('8409','Glen Lumanau'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('8409','Glen Lumanau','Thank you for the great articles. It\'s works very nice.\r\n\r\nBut I have 1 question\r\n\r\nHow can we make nginx as load balancer with session keeping?'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Linhares</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-8403</link>
		<dc:creator>Frank Linhares</dc:creator>
		<pubDate>Tue, 12 Aug 2008 13:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-8403</guid>
		<description>Yes, all GET requests are transparently passed to the Apache server.  Actually everything that doesn&#039;t match one of the rules in the nginx virtual host file gets passed.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;8403&#039;,&#039;Frank Linhares&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;8403&#039;,&#039;Frank Linhares&#039;,&#039;Yes, all GET requests are transparently passed to the Apache server.  Actually everything that doesn\&#039;t match one of the rules in the nginx virtual host file gets passed.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Yes, all GET requests are transparently passed to the Apache server.  Actually everything that doesn&#8217;t match one of the rules in the nginx virtual host file gets passed.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('8403','Frank Linhares'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('8403','Frank Linhares','Yes, all GET requests are transparently passed to the Apache server.  Actually everything that doesn\'t match one of the rules in the nginx virtual host file gets passed.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donncha O Caoimh</title>
		<link>http://tech.nocr.at/tech/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/comment-page-1/#comment-8402</link>
		<dc:creator>Donncha O Caoimh</dc:creator>
		<pubDate>Tue, 12 Aug 2008 06:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://tech.nocr.at/hacking-security/how-to-speed-up-wordpress-with-nginx-and-wp-super-cache/#comment-8402</guid>
		<description>Very nice tutorial! I can see that&#039;d be useful for people with very busy sites. I might even give it a go!

What about urls with GET parameters? I had to add rules in for the subscribe to comments unsub page, and also added a ?p= rule so those urls are passed to WordPress. 
Will your nginx rules serve the front page for those urls?&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;8402&#039;,&#039;Donncha O Caoimh&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;8402&#039;,&#039;Donncha O Caoimh&#039;,&#039;Very nice tutorial! I can see that\&#039;d be useful for people with very busy sites. I might even give it a go!\r\n\r\nWhat about urls with GET parameters? I had to add rules in for the subscribe to comments unsub page, and also added a ?p= rule so those urls are passed to WordPress. \r\nWill your nginx rules serve the front page for those urls?&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Very nice tutorial! I can see that&#8217;d be useful for people with very busy sites. I might even give it a go!</p>
<p>What about urls with GET parameters? I had to add rules in for the subscribe to comments unsub page, and also added a ?p= rule so those urls are passed to WordPress.<br />
Will your nginx rules serve the front page for those urls?
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('8402','Donncha O Caoimh'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('8402','Donncha O Caoimh','Very nice tutorial! I can see that\'d be useful for people with very busy sites. I might even give it a go!\r\n\r\nWhat about urls with GET parameters? I had to add rules in for the subscribe to comments unsub page, and also added a ?p= rule so those urls are passed to WordPress. \r\nWill your nginx rules serve the front page for those urls?'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
</channel>
</rss>
