"
WP Nav Menu Cache" plugin help you to make your WordPress dynamic navigation menu to a static menu. For each page visit WordPress run some MySQL query and complex PHP codes to generate navigation menu that you are using on front-end. Your menu content is not being changed until you change that manually. So why do you need to use your server resource on every page visit to generate a menu? This plugin saves your dynamic menus into some separate static HTML files. When you add, edit or remove any menu item using dashboard then this plugin update its cached files. When a menu is called from website front-end then this plugin stops WordPress to generate that newly and serve from the previouly saved static file. This process reduces some MySQL query , saves your server resource and increases page speed.
产品特点
- Exclude any theme location from caching you don't want to cache any menu of
- Exclude any menu you don't want to cache
- Choose wheather this plugin will cache each menu individually for each post/page or any visited url.
Modern Way:
- Go to the WordPress Dashboard "Plugin" section.
- Search For "WP Nav Menu Cache".
- Install, then Activate it.
Old Way:
- Upload the
wp-nav-menu-cache
folder to the /wp-content/plugins/
directory
- 通过 WordPress 的“插件”菜单激活插件。
How To Use WP Nav Menu Cache:
Just Install and activate. So nothing to see after installation. To see result see the usages of your server resource from your server control panel like cPanel. For advance user this plugin has a settings page. Go to the settings page from dashboard->setting->WP Nav Menu Cache. Choose your options and save those.