Title: Memcached Cloud
Author: Redis Labs
Published: <strong>2. juli 2014</strong>
Last modified: 7. juli 2014

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# Memcached Cloud

 Av [Redis Labs](https://profiles.wordpress.org/redis-labs/)

[Last ned](https://downloads.wordpress.org/plugin/memcached-cloud.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/memcached-cloud/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/memcached-cloud/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/memcached-cloud/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/memcached-cloud/#developers)

 [Hjelp](https://wordpress.org/support/plugin/memcached-cloud/)

## Skildring

Changed the [wordpress-memcached-backend](https://github.com/tollmanz/wordpress-memcached-backend)
backend to use [Memcached ver. 2.2.0 PECL package](http://pecl.php.net/package/memcached)
with SASL authentication support, to implement WP Object Cache.

Inehernt support for [Memcached Cloud](http://redislabs.com/memcached-cloud) on 
Heroku and AppFog- just add the Memcached Cloud add-on.

### Credits

We used the [wordpress-memcached-backend](https://github.com/tollmanz/wordpress-memcached-backend),
so all credit goes to Zack Tollman.

### Examples

1.

    ```
    wp_cache_set('key', 'val');  
    wp_cache_get('key');
    ```

2.

    ```
    wp_cache_set_multi ( 
        array ( 'key1' => 'val1', 'key2' => 'val2', 'key3' => 'val3' ), 
        'group1' 
    );  

    wp_cache_get_multi ( 
        array ( 'key1', 'key2' ), 
        'group1' 
    );
    ```

## Installasjon

 1. Make sure you have [libmemcached](http://libmemcached.org/libMemcached.html) installed,
    built with SASL. See the [Memcached Requirements](http://il1.php.net/manual/en/memcached.requirements.php).
 2. Install the [Memcached ver. 2.2.0 PECL package](http://il1.php.net/manual/en/memcached.installation.php).
 3. Define the Memcached servers and SASL credentials in your wp-config.php, as follows:
 4.     ```
        global $memcached_servers;
        $memcached_servers = array( array( 'host', port ) );
    
        global $memcached_username;
        $memcached_username = 'sasl_username';
    
        global $memcached_password;
        $memcached_password = 'sasl_password';
        ```
    

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

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

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

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

Contributors

 *   [ Redis Labs ](https://profiles.wordpress.org/redis-labs/)

[Omset “Memcached Cloud” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/memcached-cloud)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/memcached-cloud/), 
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/memcached-cloud/) eller abonner
på [utviklingsloggen](https://plugins.trac.wordpress.org/log/memcached-cloud/) med
[RSS](https://plugins.trac.wordpress.org/log/memcached-cloud/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * Initial release

## Om

 *  Version **1.0**
 *  Last updated **12 år sidan**
 *  Active installations **Færre enn 10**
 *  WordPress version ** 3.4 eller nyare **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/memcached-cloud/)
 * Tags
 * [cache](https://nn.wordpress.org/plugins/tags/cache/)[memcached](https://nn.wordpress.org/plugins/tags/memcached/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/memcached-cloud/advanced/)

## Vurderingar

No reviews have been submitted yet.

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

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

## Contributors

 *   [ Redis Labs ](https://profiles.wordpress.org/redis-labs/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/memcached-cloud/)