Voce Widget Cache
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' ) );
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' );
- 01Upload voce-widget-cache to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Usage: $widget_cache = Voce_Widget_Cache::GetInstance(); $widget_cache->cache_widget( ‘Archive_Links_Widget’, array( ‘save_post’ ) ); $widget_cache->cache_widget( ‘WP_Widget_Recent_Posts’ );
Frequently asked questions.
I installed the plugin but nothing is happening
The caching is not automatic. Refer to the documentation to see how to implement caching on widgets.
How can I verify my widgets are being cached?
You could use a plugin like WPDB Profiling