Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

Memcached Cloud

Leírás

Changed the wordpress-memcached-backend backend to use Memcached ver. 2.2.0 PECL package with SASL authentication support, to implement WP Object Cache.

Inehernt support for Memcached Cloud on Heroku and AppFog- just add the Memcached Cloud add-on.

Credits

We used the 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' 
);

Telepítés

  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';
    

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

Vélemények

Nincsenek értékelések erről a bővítményről.

Közreműködők és fejlesztők

“Memcached Cloud” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“Memcached Cloud” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló

1.0

  • Initial release