WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP Widget Cache

Cache the output of your blog widgets. Usually it will significantly reduce the SQL queries to your database and speed up your site.

A high-performance caching plugin for WordPress, and a plus for WP-Cache or WP Super Cache!

Why we need this WP Widget Cache?

WP Widget Cache can cache the output of your blog widgets. Usually it will significantly reduce the SQL queries to your database and speed up your site.

I think you’ve heard of WP-Cache or WP Super Cache, they are both top plugins for WordPress, which make your site much faster and responsive. Here is how cache works:

"caching WordPress pages and storing them in a static file for serving future requests directly from the file rather than loading and compiling the whole PHP code and the building the page from the database".

If your site get a very high traffic, or your blog are hosted on a shared server, or Google crawl your site frequently, you do need cache. If you use widgets, you do need WP Widget Cache.

Why WP-Cache or WP Super Cache is not enough?

WP-Cache or WP Super Cache cache ‘pages’, and WP Widget Cache cache ‘widgets’ or your sidebar, that’s the difference.

Let me explain this more clearly:

If some of your page is very popular, and people keep visit this page, then the page cache will be very helpful. But what if the user click some link and visit another page of your blog, or Google is crawling your site? Cache another whole page? Actually that’s not necessary for most time. As we all know, WordPress share the same widgets, they’re all the same, maybe on all the pages of your site. For example, the Categories widget, this maybe never change, the Archives widget, maybe changes once a month. So it’s really really not that necessary to query the database again, especially when you use a lot of widgets.

WP Widget Cache is not to replace the WP-Cache or WP Super Cache, it’s a plus for them, as it reducing the cost for caching a new page. you can set the cache time for each widget individually, seconds to years, whatever you like. For Categories widget, days maybe fine, for Recent Comments widget, seconds maybe fine.

How effective it is?

That depends on how many and what widgets you use, some sites can gain more than 70% improvement.

Notice

There're some widgets that should not be cached!!

For more information, please visit the Other Notes.

Thanks

I want to say thanks to Alan Trewartha (the author of Widget Logic plugin) and Dragan Bosnjak (the author of Cache Class), their codes are very helpful for me to finish this plugin.

Requires: 2.5.3 or higher
Compatible up to: 3.6.1
Last Updated: 2013-10-18
Downloads: 126,912

Ratings

4 stars
4.7 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,4,4
100,1,1
0,2,0
50,4,2
57,7,4 100,1,1
100,3,3
100,1,1
100,1,1
100,2,2
100,1,1
100,4,4
100,1,1
100,1,1
100,4,4
60,5,3
100,3,3
33,3,1
100,1,1 100,3,3
100,3,3
100,1,1
100,3,3
100,2,2
100,2,2
100,1,1