Plugin info

Total downloads: 1,041
Active installs: 0
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/28/2017 (2955 days ago)
Added to WordPress: 11/27/2017 (8 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 4.9.28
Minimum PHP version: 5.0

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2955 days ago • 1 reviews

22/100

Is Clinical Memcachier abandoned?

Possibly abandoned (last update 2955 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 4.9.28
Requires PHP: 5.0

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

This is a WordPress object cache backend that supports the MemCachier caching service. It requires Memcached ver. 2.2.0 PECL package or greater for SASL support.

This is a fork of tollmanz object cache, adding SASL and binary protocol support for cloud based caches.

Credits

Installation

  1. Make sure you have libmemcached installed, built with SASL. See the Memcached Requirements.

  2. Install the Memcached ver. 2.2.0 PECL package.

  3. Define the Memcached servers and SASL credentials in your wp-config.php, as follows:

    global $memcached_servers;
    $memcached_servers = array( array( 'host', port ) );
    
    global $memcached_username;
    $memcached_username = 'sasl_username';
    
    global $memcached_password;
    $memcached_password = 'sasl_password';
    
  4. Alternatively, set the environment variables, MEMCACHE_SERVERS, MEMCACHE_USERNAME and MEMCACHE_PASSWORD. The expected format for MEMCACHE_SERVERS is 'server1:port1,server2:port2,server3:port3'.

Note: If running on Heroku or AppFog, just install the MemCachier add-on and your conifguration environment variables will be set.

  1. Move object-cache.php to wp-content/object-cache.php

  2. To test the WordPress object cache setup, add the following code as an MU plugin:

    `php
    

    <?php
    $key = ‘dummy’;
    $value = ‘100’;

    $dummy_value = wp_cache_get( $key );

    if ( $value !== $dummy_value ) {
    echo “The dummy value is not in cache. Adding the value now.”;
    wp_cache_set( $key, $value );
    } else {
    echo “Value is ” . $dummy_value . “. The WordPress Memcached Backend is working!”;
    }
    `

    After adding the code, reload your WordPress site twice. On the second load, you should see a success message printed at the top of the page. Remove the MU plugin after you’ve verified the setup.

Frequently Asked Questions

Installation Instructions

  1. Make sure you have libmemcached installed, built with SASL. See the Memcached Requirements.

  2. Install the Memcached ver. 2.2.0 PECL package.

  3. Define the Memcached servers and SASL credentials in your wp-config.php, as follows:

    global $memcached_servers;
    $memcached_servers = array( array( 'host', port ) );
    
    global $memcached_username;
    $memcached_username = 'sasl_username';
    
    global $memcached_password;
    $memcached_password = 'sasl_password';
    
  4. Alternatively, set the environment variables, MEMCACHE_SERVERS, MEMCACHE_USERNAME and MEMCACHE_PASSWORD. The expected format for MEMCACHE_SERVERS is 'server1:port1,server2:port2,server3:port3'.

Note: If running on Heroku or AppFog, just install the MemCachier add-on and your conifguration environment variables will be set.

  1. Move object-cache.php to wp-content/object-cache.php

  2. To test the WordPress object cache setup, add the following code as an MU plugin:

    `php
    

    <?php
    $key = ‘dummy’;
    $value = ‘100’;

    $dummy_value = wp_cache_get( $key );

    if ( $value !== $dummy_value ) {
    echo “The dummy value is not in cache. Adding the value now.”;
    wp_cache_set( $key, $value );
    } else {
    echo “Value is ” . $dummy_value . “. The WordPress Memcached Backend is working!”;
    }
    `

    After adding the code, reload your WordPress site twice. On the second load, you should see a success message printed at the top of the page. Remove the MU plugin after you’ve verified the setup.

Review feed

Phill Healey
11/28/2017

Best Data Cache

This is the best plugin for caching your data objects with the remote memcached service provided by Memcachier, of all the ones I've tried.

Screenshots

No screenshots available

Changelog

0.4 Packaged for release on WP repo