[WordPress] 外掛分享: Memcached Cloud

首頁外掛目錄 › Memcached Cloud
全新外掛
安裝啟用
尚無評分
4273 天前
最後更新
問題解決
WordPress 3.4+ v1.0 上架:2014-07-01

內容簡介

更改了 wordpress-memcached-backend 後端, 以 Memcached ver. 2.2.0 PECL package 和 SASL 認證支援實現 WP Object Cache。

在 Heroku 和 AppFog 上原生支援 Memcached Cloud - 只需要添加 Memcached Cloud 增益。

鳴謝

我們使用了 wordpress-memcached-backend,所有的功勞都歸於 Zack Tollman。

範例

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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Memcached Cloud」→ 直接安裝(推薦)

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon