Enable Memcached for your WordPress

What is Memcached?

( via Memcahced ) memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Danga Interactive developed memcached to enhance the speed of LiveJournal.com, a site which was already doing 20 million+ dynamic page views per day for 1 million users with a bunch of webservers and a bunch of database servers. memcached dropped the database load to almost nothing, yielding faster page load times for users, better resource utilization, and faster access to the databases on a memcache miss.

How to Enable Memcached for your WordPress

1. In order to use memcache, you must compile PHP with Memcache support by using the –enable-memcache[=DIR] option. You can check if your server has memcache enabled with the PHP function phpinfo(). For more infomation about memcache module in PHP, please refer: PHP: Memcached Manual

2. Download the memcached WordPress plugin, you can download the plugin via SVN tools, the SVN URL is http://svn.wp-plugins.org/memcached/trunk/

3. Copy the two files object-cache.php and memcached-client.php to the directory wp-content ( not the plugin directory ) in your server.

This entry was written by Denis, posted on March 13, 2008 at 10:54 pm, filed under WordPress and tagged , .
permalink | RSS feed. | Post a comment | Trackback URL |

3 Comments

  1. Posted March 13, 2008 at 11:07 pm | Permalink

    I don’t have use it ,it look like very good.

    [reply to this comment]

  2. Posted March 14, 2008 at 2:09 am | Permalink

    有啥奖品????????

    [reply to this comment]

  3. askie
    Posted March 20, 2008 at 10:54 pm | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*