- Contributors: bobbingwide
- Donate link: http://www.oik-plugins.com/oik/oik-donate/
- Tags: widget, cache, optional
- Requires at least: 5.5
- Tested up to: 6.4-beta3
- Stable tag: 0.0.3
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Cache for widgets.
- Provides a checkbox to indicate if a widget should be cached.
- Default is no caching.
- Caches the widget for 12 hours.
- Supports caching of widgets which enqueue styles or scripts.
- Supports caching of widgets which enqueue inline jQuery using bw_jq.
Not suitable widgets where the content changes depending on the context.
- Upload the contents of the oik-widget-cache plugin to the `/wp-content/plugins/oik-widget-cache' directory
- Activate the oik-widget-cache plugin through the 'Plugins' menu in WordPress
- Choose the widgets that may be cached.
It's not really. It will use oik's class-dependencies-cache if available.
- oik-widget-cache in action
Upgrade for support for PHP 8.1 and PHP 8.2
Tested with WordPress 5.6-RC2 and WordPress Multi Site
Now supports widgets which enqueue scripts and styles, including inline jQuery code with bw_jq.
New plugin, available from GitHub
- Changed: Support PHP 8.1 and PHP 8.2 #4
- Tested: With WordPress 6.4-beta3 and WordPress Multisite
- Tested: With PHP 8.0, PHP 8.1 and PHP 8.2
- Tested: With WordPress 5.6-RC2 and WordPress Multi Site
- Tested: With PHP 7.4
- Added: Works with oik base plugin to handling enqueued script and style dependencies
- Added: Support for inline jQuery enqueued using bw_jq
- Changed: Increased cache time from 12 mins to 12 hours
- Tested: With WordPress 4.7.1 and WordPress Multisite
- Added: New plugin
If you want to read more about the oik plugins then please visit the oik plugin "the oik plugin - for often included key-information"
oik-widget-cache was originally based on the widget-output-cache plugin by Kaspars Dambis ( @kasparsd ). It was forked from version 0.5.1. oik-widget-cache reversed the logic for determining which widgets should be cached; inclusions rather than exclusions.