Title: Voce Widget Cache
Author: Kevin Langley Jr.
Published: <strong>29. november, 2012</strong>
Last modified: 5. januar, 2015

---

Søg plugins

![](https://ps.w.org/voce-widget-cache/assets/banner-772x250.png?rev=631809)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/voce-widget-cache_d94965.svg)

# Voce Widget Cache

 Af [Kevin Langley Jr.](https://profiles.wordpress.org/kevinlangleyjr/)

[Download](https://downloads.wordpress.org/plugin/voce-widget-cache.1.5.2.zip)

 * [Detaljer](https://da.wordpress.org/plugins/voce-widget-cache/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/voce-widget-cache/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/voce-widget-cache/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/voce-widget-cache/#developers)

 [Support](https://wordpress.org/support/plugin/voce-widget-cache/)

## Beskrivelse

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

## Installation

 1. Upload `voce-widget-cache` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Usage:
 4. $widget_cache = Voce_Widget_Cache::GetInstance();
     $widget_cache->cache_widget(‘
    Archive_Links_Widget’, array( ‘save_post’ ) ); $widget_cache->cache_widget( ‘WP_Widget_Recent_Posts’);

## FAQ

  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

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Voce Widget Cache” er open source-software. Følgende personer har bidraget til 
dette plugin.

Bidragsydere

 *   [ Kevin Langley Jr. ](https://profiles.wordpress.org/kevinlangleyjr/)
 *   [ johnciacia ](https://profiles.wordpress.org/johnciacia/)
 *   [ markparolisi ](https://profiles.wordpress.org/markparolisi/)
 *   [ voceplatforms ](https://profiles.wordpress.org/voceplatforms/)

[Oversæt “Voce Widget Cache” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/voce-widget-cache)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/voce-widget-cache/),
tjek [SVN repository](https://plugins.svn.wordpress.org/voce-widget-cache/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/voce-widget-cache/)
via [RSS](https://plugins.trac.wordpress.org/log/voce-widget-cache/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

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

## Meta

 *  Version **1.5.2**
 *  Senest opdateret **12 år siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 3.3 eller højere **
 *  Testet op til **4.1.42**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/voce-widget-cache/)
 * Tag
 * [widget](https://da.wordpress.org/plugins/tags/widget/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/voce-widget-cache/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/voce-widget-cache/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/voce-widget-cache/reviews/)

## Bidragsydere

 *   [ Kevin Langley Jr. ](https://profiles.wordpress.org/kevinlangleyjr/)
 *   [ johnciacia ](https://profiles.wordpress.org/johnciacia/)
 *   [ markparolisi ](https://profiles.wordpress.org/markparolisi/)
 *   [ voceplatforms ](https://profiles.wordpress.org/voceplatforms/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/voce-widget-cache/)