nasyrov/wordpress-menu-cache
Composer 安装命令:
composer require nasyrov/wordpress-menu-cache
包简介
WordPress mu-plugin for a faster wp_nav_menu.
README 文档
README
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.
Requirements
Make sure all dependencies have been installed before moving on:
Install
Pull the package via Composer:
$ composer require nasyrov/wordpress-menu-cache
Testing
$ composer lint
Security
If you discover any security related issues, please email inasyrov@ya.ru instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-04