Linux 软件免费装
Banner图

Plugin Name

开发者 bfintal
更新时间 2014年9月19日 10:27
PHP版本: 3.8 及以上
WordPress版本: 4.0
版权: GPLv2 or later
版权网址: 版权信息

标签

caching cache menu optimization wp_nav_menu transient loading speed wp_menu nav_menu w3

下载

1.0

详情介绍:

Gambit Cache Menus caches the menus that you use in your front end. This may not be much (an estimate of 18 milliseconds per menu), but if you have large multilevel menus, and a lot of site visitors, then the speed savings may bring a lot of benefits. Just install and activate the plugin, there are no settings page. A menu rendered normally takes around 0.02 seconds; activating this plugin reduces this step to 0.002 seconds. Features How Does it Work It's all about the Transient API. When a menu is rendered in the front end, the rendered menu is saved as a transient for caching. Future menu renderings use this cached copy afterwards. When the menu is updated, or when menu locations are changed, the transient is forcibly expired to make way for the updated menu. This Is Also a Tutorial Transients are cool. If you're not familiar with them then we documented the code well so that you can check it out. There should be a companion tutorial about Transients soon.

安装:

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Visit your site and enjoy the wee bit faster page loading time

更新日志:

1.0 First release