
100+
安裝啟用
—
尚無評分
4091 天前
最後更新
—
問題解決
WordPress 3.3+ v1.5.2 上架:2012-11-28
內容簡介
此外掛不會自動快取 widget!您需要自行定義哪些 widget 可以被快取。
將 widget 加入快取並指定何時需要清除快取。
$widget_cache = Voce_Widget_Cache::GetInstance();
$widget_cache->cache_widget( 'Archive_Links_Widget', array( 'save_post' ) );
$widget_cache->cache_widget( 'WP_Widget_Recent_Posts' );
外掛標籤
開發者團隊
原文外掛簡介
This plugin does not cache widgets automatically! You must define which widgets get cached.
Add a widget to the cache and designate which actions the cache gets flushed on.
$widget_cache = Voce_Widget_Cache::GetInstance();
$widget_cache->cache_widget( 'Archive_Links_Widget', array( 'save_post' ) );
$widget_cache->cache_widget( 'WP_Widget_Recent_Posts' );
