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.

Tags: ,

3 Responses to “Enable Memcached for your WordPress”

  1. hugege Says:

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

    [reply to this comment]

  2. 微辣 Says:

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

    [reply to this comment]

  3. askie Says:

    o! yeah!

    [reply to this comment]

Leave a Reply