Widget Output Cache

外掛說明

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.

安裝方式

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

常見問題集

None.

使用者評論

2016 年 9 月 3 日
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; }
2016 年 9 月 3 日
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.
2016 年 9 月 3 日
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?
2016 年 11 月 3 日 1 則留言
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..
2017 年 2 月 7 日
Thanks , it works very fine, fine. Please keep update Great plugin
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Widget Output Cache〉的開發相關工作。

參與者

將〈Widget Output Cache〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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