PHPackages                             nasyrov/wordpress-menu-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. nasyrov/wordpress-menu-cache

ActiveWordpress-muplugin[Caching](/categories/caching)

nasyrov/wordpress-menu-cache
============================

WordPress mu-plugin for a faster wp\_nav\_menu.

v1.0.0(8y ago)3141MITPHPPHP &gt;=5.6

Since Apr 4Pushed 8y agoCompare

[ Source](https://github.com/nasyrov/wordpress-menu-cache)[ Packagist](https://packagist.org/packages/nasyrov/wordpress-menu-cache)[ Docs](https://github.com/nasyrov/wordpress-menu-cache)[ RSS](/packages/nasyrov-wordpress-menu-cache/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

WordPress Menu Cache
====================

[](#wordpress-menu-cache)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a14848b9a44822b2c1465b4243ec8f9c17cd210093d62499281322e9ce589dff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e617379726f762f776f726470726573732d6d656e752d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nasyrov/wordpress-menu-cache)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/dd687194df33508fa8c0b2fe7181f1657483eea34922e9b8f853a3351f48aad4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e617379726f762f776f726470726573732d6d656e752d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nasyrov/wordpress-menu-cache)

WordPress mu-plugin for a faster `wp_nav_menu`.

*Please read carefully the code and understand how it works before you roll it on production. It uses [transient API](https://codex.wordpress.org/Transients_API) and generates the cache key for every page so a menu can keep track of an active state. Make sure you use Memcached or Redis as an object cache otherwise it could bloat your `wp_options` table.*

Requirements
------------

[](#requirements)

Make sure all dependencies have been installed before moving on:

- [PHP](http://php.net/manual/en/install.php) &gt;= 5.6
- [Composer](https://getcomposer.org/download/)

Install
-------

[](#install)

Pull the package via Composer:

```
$ composer require nasyrov/wordpress-menu-cache
```

Testing
-------

[](#testing)

```
$ composer lint
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Evgenii Nasyrov](https://github.com/nasyrov)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2962d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d5180ba0cd30309ada4562457c6337069906fea97f827f1c24b82fddb1bdc9a?d=identicon)[nasyrov](/maintainers/nasyrov)

---

Tags

cachemenuphpwordpresswordpress-mupluginwordpresscachemenumu-plugin

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/nasyrov-wordpress-menu-cache/health.svg)

```
[![Health](https://phpackages.com/badges/nasyrov-wordpress-menu-cache/health.svg)](https://phpackages.com/packages/nasyrov-wordpress-menu-cache)
```

###  Alternatives

[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23817.0k1](/packages/rtcamp-nginx-helper)[rarst/fragment-cache

WordPress plugin for partial and async caching of heavy front-end elements.

14115.0k2](/packages/rarst-fragment-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
