
內容簡介
Speed Up – Menu Cache 外掛專為經典佈景主題設計,透過快取 wp_nav_menu() 的輸出,顯著提升網站性能,減少每次頁面加載時的資源浪費。
【主要功能】
• 快取 wp_nav_menu() 輸出
• 提升網站加載速度
• 無需額外配置,安裝即用
• 僅適用於經典佈景主題
• 輕量級外掛,僅 5 KB
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Before you install: this plugin only works with classic themes.
It caches the output of wp_nav_menu(). Block themes do not use that function: they render
navigation with the core/navigation block, which this plugin never sees. On a block theme
the plugin is active and does nothing at all. Since 2022 every default WordPress theme is a
block theme, so check which kind yours is first.
For each menu, wordpress reads data from the database and elaborated the results. This process, repeated at each page view, is a waste time and resource.
This plugin offers a caching solution that reduces this effects on performance.
The only downside is that the menu will not show the active item with a different style. This plugin cache one version of the menu for all pages.
Configurations are not required! You just have to install it and after the plugin does it all, none further action it’s required.
This plugin is very light: only 5 kb.
Caveats
If you are using user-specific dynamic menu items, this plugin will break that functionality, as it will cache the state of the first page load and any changes will not be seen. There is no per-user cache.
