PHPackages                             voceconnect/voce-widget-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. voceconnect/voce-widget-cache

ActiveLibrary[Caching](/categories/caching)

voceconnect/voce-widget-cache
=============================

Adds ability to easily cache widget output for better performance.

1.5.2(11y ago)621431GPLv2+PHP

Since Jun 24Pushed 9y ago14 watchersCompare

[ Source](https://github.com/voceconnect/voce-widget-cache)[ Packagist](https://packagist.org/packages/voceconnect/voce-widget-cache)[ RSS](/packages/voceconnect-voce-widget-cache/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)DependenciesVersions (6)Used By (1)

### Please note: This plugin is no longer being actively maintained or supported.

[](#please-note-this-plugin-is-no-longer-being-actively-maintained-or-supported)

Voce Widget Cache
=================

[](#voce-widget-cache)

Contributors: johnciacia, markparolisi, voceplatforms
Tags: widget, cache, caching, performance
Requires at least: 3.3
Tested up to: 4.1
Stable tag: 1.5.2
License: GPLv2 or later
License URI:

Description
-----------

[](#description)

Adds ability to easily cache widget output for better performance. This plugin does not cache widgets automatically! You must define which widgets get cached.

Installation
------------

[](#installation)

### As standard plugin:

[](#as-standard-plugin)

> See [Installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

### As theme or plugin dependency:

[](#as-theme-or-plugin-dependency)

> After dropping the plugin into the containing theme or plugin, add the following:

```
if( ! class_exists( 'Voce_Widget_Cache' ) ) {
	require_once( $path_to_voce_widget_cache . '/voce-widget-cache.php' );
}
```

Usage
-----

[](#usage)

#### Example

[](#example)

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

\#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

\#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**

- oks to clear a widget's cache are now optional.

**1.1**

- Updated documentation.

**1.0**

- Initial version.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Total

5

Last Release

4145d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60c26d865c2615b90378cd9d45d70e3d11f58de984e6831a125ec22672c1d390?d=identicon)[voceconnect](/maintainers/voceconnect)

![](https://avatars.githubusercontent.com/u/672045?v=4)[Curtis Loisel](/maintainers/csloisel)[@csloisel](https://github.com/csloisel)

---

Top Contributors

[![markparolisi](https://avatars.githubusercontent.com/u/151430?v=4)](https://github.com/markparolisi "markparolisi (3 commits)")[![banderon](https://avatars.githubusercontent.com/u/533529?v=4)](https://github.com/banderon "banderon (2 commits)")[![jb510](https://avatars.githubusercontent.com/u/801241?v=4)](https://github.com/jb510 "jb510 (1 commits)")[![johnciacia](https://avatars.githubusercontent.com/u/195966?v=4)](https://github.com/johnciacia "johnciacia (1 commits)")

---

Tags

wordpresscachewidget

### Embed Badge

![Health badge](/badges/voceconnect-voce-widget-cache/health.svg)

```
[![Health](https://phpackages.com/badges/voceconnect-voce-widget-cache/health.svg)](https://phpackages.com/packages/voceconnect-voce-widget-cache)
```

###  Alternatives

[markjaquith/wp-tlc-transients

A WP transients interface with support for soft-expiration, background updating of the transients.

34175.3k3](/packages/markjaquith-wp-tlc-transients)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23817.0k1](/packages/rtcamp-nginx-helper)[rarst/fragment-cache

WordPress plugin for partial and async caching of heavy front-end elements.

14115.0k2](/packages/rarst-fragment-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
