Title: Memcached Redux
Author: Scott Taylor
Published: <strong>2012 年 6 月 5 日</strong>
Last modified: 2020 年 5 月 7 日

---

搜尋外掛

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

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Memcached Redux

 由 [Scott Taylor](https://profiles.wordpress.org/wonderboymusic/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/memcached-redux/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/memcached-redux/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/memcached-redux/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/memcached-redux/#developers)

 [技術支援](https://wordpress.org/support/plugin/memcached-redux/)

## 外掛說明

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/)

## 安裝方式

 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

## 使用者評論

![](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/) 2020 年 6 月 19 日

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/) 2019 年 2 月 20 日

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/) 2018 年 4 月 29 日

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/) 2018 年 1 月 10 日 1 則留言

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/) 2016 年 9 月 3 日

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/) 2017 年 2 月 7 日

Fatal error: Cannot redeclare wp_cache_add()

 [ 閱讀全部 9 則使用者評論 ](https://wordpress.org/support/plugin/memcached-redux/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Memcached Redux〉的開發相關工作。

參與者

 *   [ 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/)

[將〈Memcached Redux〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/memcached-redux)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/memcached-redux/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/memcached-redux/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/memcached-redux/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/memcached-redux/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **0.1.7**
 *  最後更新 **6 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.4.23**
 *  語言
 * [English (US)](https://wordpress.org/plugins/memcached-redux/)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[cache](https://tw.wordpress.org/plugins/tags/cache/)
   [manage cache](https://tw.wordpress.org/plugins/tags/manage-cache/)[memcached](https://tw.wordpress.org/plugins/tags/memcached/)
   [object cache](https://tw.wordpress.org/plugins/tags/object-cache/)
 *  [進階檢視](https://tw.wordpress.org/plugins/memcached-redux/advanced/)

## 評分

 4.3 星，滿分為 5 星

 *  [  6 個 5 星使用者評論     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=5)
 *  [  2 個 4 星使用者評論     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/memcached-redux/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/memcached-redux/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/memcached-redux/reviews/)

## 參與者

 *   [ 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/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/memcached-redux/)