WordPress mu-plugin for a faster wp_nav_menu
.
Please read carefully the code and understand how it works before you roll it on production. It uses transient API and generates the cache key for every page so a menu can keep track of an active state. Make sure you use Memcached or Redis as an object cache otherwise it could bloat your wp_options
table.
Make sure all dependencies have been installed before moving on:
Pull the package via Composer:
$ composer require nasyrov/wordpress-menu-cache
$ composer lint
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.