Memcached Cloud
v1.0Redis Labs · 2014年7月2日 上架
Use Memcached with SASL authentication to implement WP Object Cache
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 2,670
- 最近更新
- 2014年7月7日
需要 WordPress 3.4+已测试到 3.9.40
贡献者
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'
);