WP Manifestindependent plugin directory
manifest / performance / wp-memcached

WP Memcached

The real Memcached (not Memcache) backend for the WP Object Cache.

by 1815 · github.com/achttienvijftien/wp-memcached · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/achttienvijftien/wp-memcached/archive/refs/heads/main.zip

From the readme

Uses the Memcached class (not the Memcache class) to implement WP Object Cache Changes the famous Memcached WP Object Cache backend to actually use the Memcached class (not the Memcache class). Implements wpcachegetmulti() and wpcachesetmulti() wpcachegetmulti( array( array( 'key', 'group' ), array( 'key', '' ), array( 'key', 'group' ), 'key' ) ); wpcachesetmulti( array( array( 'key', 'data', 'group' ), array( 'key', 'data' ) ) ); Blog Post: http://scotty-t.com/2012/06/05/memcached-redux/ 1. Install memcached on at least one server. Note the connection info. The default is 127.0.0.1:11211. 1. Install the PECL memcached extension 1. Copy object-cache.php to wp-content Improved escaping in debug output ported from Memcached plugin (props @batmoo). Fixed PHP notice when no Memcached server:port manually specified. Corrected documentation Corrected stats collection (props @johnbillion) Added support for PHP 7+ by changing to construct and pre-initializing stats Added support for WPCACHEKEYSALT allowing multiple sites to use the same Memcached server. Allows graceful fallback to database object cache in WordPress 3.7+ for users without PECL Memcached available.

Read the full README on GitHub →