---
title: Menu Performance in WordPress 3.9
date: 2014-04-09T16:30:28+00:00
modified: 2024-10-04T08:41:01+00:00
image:: https://kaspars.net/wp-content/uploads/2014/04/menu-widget-output-cache.png
permalink: https://kaspars.net/blog/menu-performance-wordpress
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
post_tag:
  - MySQL
  - Plugin
  - Speed
category:
  - Web Performance
  - WordPress
---

# Menu Performance in WordPress 3.9

The next major release of WordPress is just around the corner — April 16th is the scheduled release date for WordPress 3.9. It will also be the very first version of WordPress with this [little patch of mine](https://core.trac.wordpress.org/ticket/23627) running behind the scenes which enables plugins to improve the [performance of rendering menus](https://kaspars.net/blog/filter-pre-wp-nav-menu). In theory, it should save up to six database queries on each page load!

I have updated the [Widget Output Cache plugin](http://wordpress.org/plugins/widget-output-cache/ "Improve performance of WordPress menus and widgets") to include this new filter and add support for caching the menu output. Membership and e-commerce websites (and others with mostly logged-in users) should see the biggest performance improvement and decreased page load times. Be sure to check it out.