Image

Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Image

Widget Output Cache

Aprašymas

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.

Diegimas

Install it from the official WordPress repository or use the plugin search in your WordPress dashboard.

DUK

None.

Atsiliepimai

Image
3 rugsėjo, 2016
Great plugin. Does it what is says and can really help give that extra speed boost. It even refreshes the cache when a widget is saved. On first installation I would recommend increasing the cache time from the default 12 minutes, using the below filter: add_filter( ‘widget_output_cache_ttl’, ‘widget_cache_custom_ttl’, 10, 2 ); function widget_cache_custom_ttl( $ttl ) { $ttl = 3600 * 24; // 24 hours return $ttl; }
Image
3 rugsėjo, 2016
We use various plugins to produce our support site with 200+ pages, widgets that pull information from our sub sites at support.skylightit.com. We are using caching, varnish and various server side and WP plugins. Our issue was that some of the custom widgets were impacting the sites performance and this just improved it. So that you to the developers for awesome work.
Image
3 rugsėjo, 2016
This is good plugin. Simple and easy to use although improved performance in my sites. But it has not been updated for a year. Is update yet?
Image
3 lapkričio, 2016 1 reply
If you have widgets with pics or animation, this plugin allows everything in it to be cached. Widgets do not cache normally. This even adds a little check box to not cache certain ones of you run things in there that constantly change If you do change something and just need to clear the cache just for the widget to see what it looks like. Just hit the widget save button and the changes take place. So if you have a CDN local or off site set up, the widgets will now be included in that cache Sped up my webpage big time because I use widgets that download the latest posts from 5 Face Book pages on the same subject but different information. Because that’s all cached now and does not change for 24 hours (how I have it set up in the FB feed through another plugin) the FB information is cached and loads quickly instead of waiting for FB servers to send it..
Perskaityti visus atsiliepimus (7)

Programuotojai ir komandos nariai

“Widget Output Cache” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

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_callback filter.

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.

Upgrade Notice