
Voce Widget Cache
v1.5.2Kevin Langley Jr. · 2012年11月29日 上架
Easily cache widget output for better performance.
- 正在使用
- 100+
- 评分
- 暂无
- 累计下载
- 2,921
- 最近更新
- 2015年1月6日
需要 WordPress 3.3+已测试到 4.1.42
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' );