Caches WordPress navigation menus.
Caches the output of your menus. That’s it 😉
Specifically, it caches the output for every unique page. This allows the menus to retain the current/parent/child classes unlike most other menu caching plugins.
If you want to cache your menu content obviously, but specifically if you want to cache your menu content and keep the current/parent/child page classes working. Most menu caching systems do not cater for keeping the various classes working, whereas this plugin does.
You should not use this plugin if you have a huge number of posts/pages on your site. The plugin caches each menu individually for each post. This can result in a huge number of cached menus on some sites, which could actually resulted in a slower site in those situations. It could also overload your object cache backend if it has insufficient memory to store them all.
Visit the Unique Headers Plugin for more information.
Nope. But luckily for you, Kaspars Dambis has created the Widget Output Cache plugin which does that for you.
They are set to cache for one hour by default. You can change this by creating an extension plugin which extends the main plugin class and modifies the cache_time variable.
Because it is not a good idea to cache a fresh menu for each page on some websites. If you don’t have many pages, then this is a perfectly acceptable way to handle menu caching. But if you have a large site with many pages, then there may be too many menus to efficiently cache.
There isn’t one. Just activate it and it should start working immediately. There is a cache purge button on the plugins page, but this should not be needed in normal usage.
Maybe. Those plugins do full static page caching. Caching your menus is only useful if your visitors are able to bypass the full page cache (this usually occurs when people comment or are logged in).
It does work. If you think it is not working for some reason, please let me know why. Just because you can’t see any changes on your site, or it doesn’t “feel” faster does not mean that it is not working. In fact if you use the plugin incorrectly, your site could actually load more slowly than before. Caching is a complex thing and it can backfire on you if you don’t do it right.
Not quite. Object caching plugins are able to massively reduce the load created by WordPress menus, but not entirely. This plugin takes it a step further and caches the entire menu. Using the menu cache plugin in conjunction with an object caching plugin makes complete sense and is highly recommended for maximum performance.
Probably, but I only actively support the latest version of WordPress. Support for older versions is purely by accident.
No, I’m too busy. Having said that, if you are willing to pay me a small fortune then I could probably be persuaded. I’m also open to suggestions for improvements, so feel free to send me ideas and if you are lucky, it may be added for free 🙂
Version 1.0.1 (4/1/2015): Added cache purge functionality and German language translation.
Version 1.0 (2/1/2015): Initial release.
Thanks to the following for help with the development of this plugin:
* Kaspars Dambis – Provided inspiration for this plugin via his Widget Output Cache plugin and the cache purge snippet used in his Minit plugin.
* Alexander Praetorius – Provided German language translations.