Title: Memcached Redux
Author: Scott Taylor
Published: <strong>June 5, 2012</strong>
Last modified: May 7, 2020

---

Search plugins

![](https://ps.w.org/memcached-redux/assets/banner-772x250.jpg?rev=553561)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/memcached-redux_98a1ab.svg)

# Memcached Redux

 By [Scott Taylor](https://profiles.wordpress.org/wonderboymusic/)

[Download](https://downloads.wordpress.org/plugin/memcached-redux.0.1.7.zip)

 * [Details](https://ewe.wordpress.org/plugins/memcached-redux/#description)
 * [Reviews](https://ewe.wordpress.org/plugins/memcached-redux/#reviews)
 *  [Installation](https://ewe.wordpress.org/plugins/memcached-redux/#installation)
 * [Development](https://ewe.wordpress.org/plugins/memcached-redux/#developers)

 [Support](https://wordpress.org/support/plugin/memcached-redux/)

## Description

Changes the famous Memcached WP Object Cache backend to actually use the Memcached
class (not the Memcache class). Implements wp_cache_get_multi() and wp_cache_set_multi()

    ```
    wp_cache_get_multi( array(
        array( 'key', 'group' ),
        array( 'key', '' ),
        array( 'key', 'group' ),
        'key'
    ) );

    wp_cache_set_multi( array(
        array( 'key', 'data', 'group' ),
        array( 'key', 'data' )
    ) );
    ```

Blog Post: [http://scotty-t.com/2012/06/05/memcached-redux/](http://scotty-t.com/2012/06/05/memcached-redux/)

## Installation

 1. Install [memcached](http://danga.com/memcached) on at least one server. Note the
    connection info. The default is `127.0.0.1:11211`.
 2. Install the [PECL memcached extension](http://pecl.php.net/package/memcached)
 3. Copy object-cache.php to wp-content

## Reviews

![](https://secure.gravatar.com/avatar/bd2c05f81f1618d45ad4b7fc4fff0edaac0baac78a4f4f62c6ca35c9b09536ab?
s=60&d=retro&r=g)

### 󠀁[Does its Job, fast – dangerous](https://wordpress.org/support/topic/does-its-job-fast-dangerous/)󠁿

 [kech61](https://profiles.wordpress.org/kech61/) June 19, 2020

Well, the plugin does its Job (cloud/centos7/apache/php/fpm/7.3 + memcached) fine.
However, my site is quite komplex (multilingual, bbpress, aso..). Yesterday I had
to make some changes (new pages) and the menu-system completely fell apart. It was
not possible to add menu items, the connect between language-versions fell appart–
horrible. Issue was finally solved by renaming the object_cache.php in wp_contend.
So: The performance is really fine, but admin have to know what they are doing and
disable plugin when changing (at least) menues.

![](https://secure.gravatar.com/avatar/ed4bec46dd1607b9fcf368c5cd0c97efcac300b27e788a8cd333ec1dc9b4bdf0?
s=60&d=retro&r=g)

### 󠀁[Simple but it works!](https://wordpress.org/support/topic/simple-but-it-works-9/)󠁿

 [Olaf Lederer](https://profiles.wordpress.org/finalwebsites/) February 20, 2019

Using the object cache plugin on my VPS from Upcloud managed with Serverpilot. Result?
Everything feels much faster Using now php7.2 and can’t wait that the memchached
extension becomes available for php7.3

![](https://secure.gravatar.com/avatar/379d68b64a221952bf9f8b74314858d41c42123f094f8f8cdcba191cc5ade8d5?
s=60&d=retro&r=g)

### 󠀁[Super!!!](https://wordpress.org/support/topic/super-1080/)󠁿

 [solgaz](https://profiles.wordpress.org/solgaz/) April 29, 2018

many thanks!

![](https://secure.gravatar.com/avatar/8b2bdc3b2373f8833c0ec860b7859bd66c9f492b4ca30473a194df286a670395?
s=60&d=retro&r=g)

### 󠀁[Works with PHP7](https://wordpress.org/support/topic/works-with-php7/)󠁿

 [ramanm](https://profiles.wordpress.org/ramanm/) January 10, 2018 1 reply

Works with PHP7 amd Amazon Elasticache memcached. [link removed] Thank you for making
this available.

![](https://secure.gravatar.com/avatar/603cca234b548c60f97319853a2c9e29b918aa330e0fdc73bb92fa79edb59431?
s=60&d=retro&r=g)

### 󠀁[Best Object Cache plugin](https://wordpress.org/support/topic/best-object-cache-plugin/)󠁿

 [Pothi Kalimuthu](https://profiles.wordpress.org/pothi/) September 3, 2016

Memcached PHP extension and memcached servers are widely supported by many hosts
these days (2016). So, this plugin just works with most hosts. Now, I can’t see 
any site without using this plugin for WP Object Cache!

![](https://secure.gravatar.com/avatar/9c1d3a0a896c7ebf2a5cc0c250737de06bfc91ea9c4a680990a57cf71825d3c6?
s=60&d=retro&r=g)

### 󠀁[Fatal error](https://wordpress.org/support/topic/fatal-error-2442/)󠁿

 [Den999](https://profiles.wordpress.org/den999/) February 7, 2017

Fatal error: Cannot redeclare wp_cache_add()

 [ Read all 9 reviews ](https://wordpress.org/support/plugin/memcached-redux/reviews/)

## Contributors & Developers

“Memcached Redux” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Scott Taylor ](https://profiles.wordpress.org/wonderboymusic/)
 *   [ Ryan Boren ](https://profiles.wordpress.org/ryan/)
 *   [ Matt Martz ](https://profiles.wordpress.org/sivel/)
 *   [ Kira Schroder ](https://profiles.wordpress.org/kirasong/)
 *   [ Ipstenu (Mika Epstein) ](https://profiles.wordpress.org/ipstenu/)
 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)

[Translate “Memcached Redux” into your language.](https://translate.wordpress.org/projects/wp-plugins/memcached-redux)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/memcached-redux/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/memcached-redux/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/memcached-redux/)
by [RSS](https://plugins.trac.wordpress.org/log/memcached-redux/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.7

 * Improved escaping in debug output ported from [Memcached plugin](https://wordpress.org/plugins/memcached/)(
   props @batmoo).
 * Fixed PHP notice when no Memcached server:port manually specified.

#### 0.1.6

 * Corrected documentation
 * Corrected stats collection (props @johnbillion)

#### 0.1.5

 * Added support for PHP 7+ by changing to `__construct` and pre-initializing stats

#### 0.1.3

 * Added support for WP_CACHE_KEY_SALT allowing multiple sites to use the same Memcached
   server.

#### 0.1.2

 * Allows graceful fallback to database object cache in WordPress 3.7+ for users
   without PECL Memcached available.
 * Fixes warning due to replace() call, as it does not take a compression argument
   in Memcached.

#### 0.1.1

 * Fixes a problem with the get_option() function and the return value of wp_cache_get()
   on Linux

#### 0.1

 * Initial release

## Meta

 *  Version **0.1.7**
 *  Last updated **6 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **5.4.19**
 *  Language
 * [English (US)](https://wordpress.org/plugins/memcached-redux/)
 * Tags
 * [admin](https://ewe.wordpress.org/plugins/tags/admin/)[cache](https://ewe.wordpress.org/plugins/tags/cache/)
   [manage cache](https://ewe.wordpress.org/plugins/tags/manage-cache/)[memcached](https://ewe.wordpress.org/plugins/tags/memcached/)
   [object cache](https://ewe.wordpress.org/plugins/tags/object-cache/)
 *  [Advanced View](https://ewe.wordpress.org/plugins/memcached-redux/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/memcached-redux/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/memcached-redux/reviews/)

## Contributors

 *   [ Scott Taylor ](https://profiles.wordpress.org/wonderboymusic/)
 *   [ Ryan Boren ](https://profiles.wordpress.org/ryan/)
 *   [ Matt Martz ](https://profiles.wordpress.org/sivel/)
 *   [ Kira Schroder ](https://profiles.wordpress.org/kirasong/)
 *   [ Ipstenu (Mika Epstein) ](https://profiles.wordpress.org/ipstenu/)
 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/memcached-redux/)