>
Download This Plugin | |
Download Elegant Themes | |
Name | Gambit Cache Menus |
Version | 1.0 |
Author | Benjamin Intal - Gambit Technologies |
Rating | 0 |
Last updated | 2014-09-16 06:36:00 |
Downloads |
59
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Gambit Cache Menus plugin added 2 bytes of resources to the Home page and 6 bytes of resources to the sample Post page.
Gambit Cache Menus plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Gambit Cache Menus plugin ads no tables to your Wordpress blog database.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.
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.
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.