Voce Widget Cache Icon

Voce Widget Cache

By Kevin Langley Jr.

Active Installs

100+

Last Updated

January 5, 2015

First Released

November 29, 2012

Download History (Last one month)


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' );
  1. Upload voce-widget-cache to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Usage:

    $widget_cache = Voce_Widget_Cache::GetInstance();
    $widget_cache->cache_widget( ‘Archive_Links_Widget’, array( ‘save_post’ ) );
    $widget_cache->cache_widget( ‘WP_Widget_Recent_Posts’ );

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

Changelog

1.5.1

  • Testing with WordPress 4.1

1.5

  • Removing cache interaction on customizer preview

1.4.1

  • Adding Capistrano deploy files

1.4

  • Adding composer support

1.3

  • Fix PHP Warning is widget array is not set.

1.2

  • Hooks to clear a widget’s cache are now optional.

1.1

  • Updated documentation.

1.0

  • Initial version.
<br />
<b>Warning</b>:  Undefined array key /home/ylinkin/truewp.net/wp-content/plugins/truewp-plugin-info/truewp-plugin-info.php on line 756
" width="120" height="120">

Available Versions

Version Download Type
1.5.2 Download Stable
1.5.1 Download Stable
1.5 Download Stable
1.4.1 Download Stable
1.3 Download Stable
1.1 Download Stable
0 Download Stable
Development Download Trunk

Plugin Info

  • Version: 1.5.2
  • Last Updated: January 5, 2015
  • Active Installs: 100+
  • WordPress Version: 3.3 or higher
  • Tested up to: 4.1.42
  • PHP Version: or higher
  • Tags:    
    widget

Ratings


0.0 out of 5 stars. (0 reviews)

See all reviews
Scroll to Top