Description
Use PHP output buffering to extract widget output and store it into WordPress transients for faster retrieval. It also adds a checkbox to widget controls to exclude it from being cached.
It is a quick fix for bad behaving plugins that parse RSS feeds or call remote URLs on every page load.
Note that the plugin supports only Classic Widgets — the caching does not apply to widgets rendered in the block-based editor.
Installation
Install it from the official WordPress repository or use the plugin search in your WordPress dashboard.
FAQ
None.
Changelog
0.5.3
- Tested with WordPress 7.1, and the documentation was updated to cover the current formatting. Releases are now versioned, changelogged and packaged with
@wpelevator/wp-release.
0.5.2
- Tested with WordPress 4.5.2.
0.5.1
- Fixed transient name generation issue.
0.5
- Remove menu cache due to “active” menu item bug.
- Allow individual widgets to be excluded from being cached.
0.4.4
- Honor widgets being hidden using the
widget_display_callbackfilter.
0.4.3
- Add cache versioning for simple invalidation.
0.4.2
- Store menu cache only if WordPress supports
pre_wp_nav_menu.
0.4
- Add support for menu output caching.
0.1
- Initial release.
