<?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: Caching wordpress as static HTML using APC</title>
	<atom:link href="http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/</link>
	<description>A blog about Linux, Apache, MySQL, PHP and web application security</description>
	<lastBuildDate>Tue, 07 Sep 2010 21:21:07 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dirty Wordpress APC caching - Florent Clairambault</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-13076</link>
		<dc:creator>Dirty Wordpress APC caching - Florent Clairambault</dc:creator>
		<pubDate>Sat, 13 Feb 2010 08:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-13076</guid>
		<description>[...] I had the brilliant idea to put everything in an APC cache, someone had the same [...]</description>
		<content:encoded><![CDATA[<p>[...] I had the brilliant idea to put everything in an APC cache, someone had the same [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florent Clairambault</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-13010</link>
		<dc:creator>Florent Clairambault</dc:creator>
		<pubDate>Fri, 12 Feb 2010 20:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-13010</guid>
		<description>Very good idea. I had exactly the same and wanted to do the same thing. Just wanted to tell you that : md5($_SERVER[&#039;REQUEST_URI&#039;] .serialize($_GET)) will change at the same frequency as md5($_SERVER[&#039;REQUEST_URI&#039;]) because the REQUEST_URI actually contains the GET arguments.

I think you can implement it more properly, give a longer timeout and clean everything as soon as a comment is posted or a new post is added.</description>
		<content:encoded><![CDATA[<p>Very good idea. I had exactly the same and wanted to do the same thing. Just wanted to tell you that : md5($_SERVER['REQUEST_URI'] .serialize($_GET)) will change at the same frequency as md5($_SERVER['REQUEST_URI']) because the REQUEST_URI actually contains the GET arguments.</p>
<p>I think you can implement it more properly, give a longer timeout and clean everything as soon as a comment is posted or a new post is added.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-10891</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sun, 17 Jan 2010 22:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-10891</guid>
		<description>Its probably that dreamhost doesnt support APC (the APC cache is an extension of PHP), do a phpinfo(); and see if you can see a heading for APC - if its not there then its not being support by Dreamhost.</description>
		<content:encoded><![CDATA[<p>Its probably that dreamhost doesnt support APC (the APC cache is an extension of PHP), do a phpinfo(); and see if you can see a heading for APC &#8211; if its not there then its not being support by Dreamhost.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eckhard</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-10813</link>
		<dc:creator>Eckhard</dc:creator>
		<pubDate>Sun, 17 Jan 2010 02:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-10813</guid>
		<description>Fatal error: Call to undefined function apc_fetch() in /home/xxxxxxx.com/index.php on line 5
unfortunately with the WP- 2.9.1  on dreamhost it is not working well
any idea what to change??
thanks</description>
		<content:encoded><![CDATA[<p>Fatal error: Call to undefined function apc_fetch() in /home/xxxxxxx.com/index.php on line 5<br />
unfortunately with the WP- 2.9.1  on dreamhost it is not working well<br />
any idea what to change??<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-4351</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Wed, 04 Nov 2009 10:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-4351</guid>
		<description>My method is somewhat of a bodge - I only have 150 pages on my site which means that everything will easily fit within 6mb of memory preventing page flushes. You are quite right - if you know you can&#039;t fit everything in memory, dont use my crude method.  Pre-generating the page and storing it on disk would be a much better option.

Look forward to seeing your wordpress cache plugin - hopefully it&#039;ll be a little more sophisticated than my method :)</description>
		<content:encoded><![CDATA[<p>My method is somewhat of a bodge &#8211; I only have 150 pages on my site which means that everything will easily fit within 6mb of memory preventing page flushes. You are quite right &#8211; if you know you can&#8217;t fit everything in memory, dont use my crude method.  Pre-generating the page and storing it on disk would be a much better option.</p>
<p>Look forward to seeing your wordpress cache plugin &#8211; hopefully it&#8217;ll be a little more sophisticated than my method <img src='http://www.idontplaydarts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: php trivandrum</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-4294</link>
		<dc:creator>php trivandrum</dc:creator>
		<pubDate>Wed, 04 Nov 2009 03:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-4294</guid>
		<description>Caching pages with in memory caches can improve performance but you will exhaust the reserved memory and page flushes will occur, actually reducing in performance in a realtime scenario.

But for heavily customized homepages, with loads of visitors as witten http://www.php-trivandrum.org/general-articles/speeding-up-wordpress-home-page/, the partial data caching in ram disk without any in memory cache would be at par. Here the home page is only cached.

I am working on a plugin for word press which will help out doing this more decently.</description>
		<content:encoded><![CDATA[<p>Caching pages with in memory caches can improve performance but you will exhaust the reserved memory and page flushes will occur, actually reducing in performance in a realtime scenario.</p>
<p>But for heavily customized homepages, with loads of visitors as witten <a href="http://www.php-trivandrum.org/general-articles/speeding-up-wordpress-home-page/" rel="nofollow">http://www.php-trivandrum.org/general-articles/speeding-up-wordpress-home-page/</a>, the partial data caching in ram disk without any in memory cache would be at par. Here the home page is only cached.</p>
<p>I am working on a plugin for word press which will help out doing this more decently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-1484</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Wed, 23 Sep 2009 09:52:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-1484</guid>
		<description>Yeah, i agree totally, if you used a static file the results would be much faster (quite how much faster I&#039;m not sure) and it would prevent the call to APC/PHP. In my case APC will do as it appears that my upstream connection gets saturated before the calls to PHP become an issue. 

I&#039;ll give the static file method a try (probably sometime this week) and see how the results compare :)</description>
		<content:encoded><![CDATA[<p>Yeah, i agree totally, if you used a static file the results would be much faster (quite how much faster I&#8217;m not sure) and it would prevent the call to APC/PHP. In my case APC will do as it appears that my upstream connection gets saturated before the calls to PHP become an issue. </p>
<p>I&#8217;ll give the static file method a try (probably sometime this week) and see how the results compare <img src='http://www.idontplaydarts.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-1460</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 23 Sep 2009 05:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-1460</guid>
		<description>these are pretty good numbers, but isn&#039;t the whole point of supercache and static file generating is so you avoid the trip to PHP in the first place?  handling a ton of requests via PHP/FastCGI vs. having lighttpd/Apache return the static file with one stat() call to check if it exists, it seems like the static file method is going to be tons faster.</description>
		<content:encoded><![CDATA[<p>these are pretty good numbers, but isn&#8217;t the whole point of supercache and static file generating is so you avoid the trip to PHP in the first place?  handling a ton of requests via PHP/FastCGI vs. having lighttpd/Apache return the static file with one stat() call to check if it exists, it seems like the static file method is going to be tons faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.idontplaydarts.com/2009/08/caching-wordpress-as-static-html-using-apc/comment-page-1/#comment-105</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Tue, 18 Aug 2009 08:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.idontplaydarts.com/?p=327#comment-105</guid>
		<description>Let hope comments still work with this caching...</description>
		<content:encoded><![CDATA[<p>Let hope comments still work with this caching&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
