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

<channel>
	<title>Ladysign Dev Blog &#187; mysql cache</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/mysql-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 12 Dec 2011 16:58:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress Internal Caching</title>
		<link>http://www.ladysign-apps.com/blog/code/wordpress/wordpress-internal-caching/</link>
		<comments>http://www.ladysign-apps.com/blog/code/wordpress/wordpress-internal-caching/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 10:55:24 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[mysql cache]]></category>
		<category><![CDATA[wordpress caching]]></category>

		<guid isPermaLink="false">http://www.ladysign-apps.com/blog/?p=901</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars<br />
In case when you have slow database server, it might be a good idea to store frequently used data<br />
in a serialized form on[......]</p><p class='read-more'><a href='http://www.ladysign-apps.com/blog/code/wordpress/wordpress-internal-caching/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars<br />
In case when you have slow database server, it might be a good idea to store frequently used data<br />
in a serialized form on disk. WordPress has an integrated disk-cache which stores rarely changing data like categories and users in a special folder.<br />
<strong>wordpress-folder/wp-content/cache</strong>.<br />
To enable Wordpress internal caching, CMOD the above cache folder to 777. (make it writable)<br />
And add the following line to:</p>
<p><strong>wordpress-folder/wp-config.php</strong>.</p>
<pre class="brush: php; title: ;">define( ‘ENABLE_CACHE’, true );</pre>
<p>Note that this cache is not recommended if the disk is slow or your host (like DreamHost) set up a NFS based storage solution which would request the cached data<br />
from a remote storage server.</p>
<p>For more caching tricks check: <a href="http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/">http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/wordpress/wordpress-internal-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

