Title: Gambit Cache Menus
Author: Benjamin Intal
Published: <strong>September 19, 2014</strong>
Last modified: September 19, 2014

---

Search plugins

![](https://ps.w.org/gambit-cache-menus/assets/banner-772x250.png?rev=992982)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/gambit-cache-menus_34495e.svg)

# Gambit Cache Menus

 By [Benjamin Intal](https://profiles.wordpress.org/bfintal/)

[Download](https://downloads.wordpress.org/plugin/gambit-cache-menus.1.0.zip)

 * [Details](https://zul.wordpress.org/plugins/gambit-cache-menus/#description)
 * [Reviews](https://zul.wordpress.org/plugins/gambit-cache-menus/#reviews)
 *  [Installation](https://zul.wordpress.org/plugins/gambit-cache-menus/#installation)
 * [Development](https://zul.wordpress.org/plugins/gambit-cache-menus/#developers)

 [Support](https://wordpress.org/support/plugin/gambit-cache-menus/)

## Description

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

 * Shaves off 18ms per menu
 * Uses the Transient API
 * Lightweight
 * Cleanly coded plugin

#### 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.

## Installation

 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

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Gambit Cache Menus” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Benjamin Intal ](https://profiles.wordpress.org/bfintal/)

[Translate “Gambit Cache Menus” into your language.](https://translate.wordpress.org/projects/wp-plugins/gambit-cache-menus)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/gambit-cache-menus/),
check out the [SVN repository](https://plugins.svn.wordpress.org/gambit-cache-menus/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/gambit-cache-menus/)
by [RSS](https://plugins.trac.wordpress.org/log/gambit-cache-menus/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

First release

## Meta

 *  Version **1.0**
 *  Last updated **12 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.8 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/gambit-cache-menus/)
 * Tags
 * [cache](https://zul.wordpress.org/plugins/tags/cache/)[caching](https://zul.wordpress.org/plugins/tags/caching/)
   [loading speed](https://zul.wordpress.org/plugins/tags/loading-speed/)[menu](https://zul.wordpress.org/plugins/tags/menu/)
   [optimization](https://zul.wordpress.org/plugins/tags/optimization/)[transient](https://zul.wordpress.org/plugins/tags/transient/)
   [W3](https://zul.wordpress.org/plugins/tags/w3/)[wp_nav_menu](https://zul.wordpress.org/plugins/tags/wp_nav_menu/)
 *  [Advanced View](https://zul.wordpress.org/plugins/gambit-cache-menus/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/gambit-cache-menus/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gambit-cache-menus/reviews/)

## Contributors

 *   [ Benjamin Intal ](https://profiles.wordpress.org/bfintal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/gambit-cache-menus/)