PHPackages                             millipress/acorn-millicache - 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. millipress/acorn-millicache

ActiveLibrary[Caching](/categories/caching)

millipress/acorn-millicache
===========================

Stores Acorn route responses in MilliCache's Redis cache

v1.1.0(3mo ago)355↓66.7%GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Dec 12Pushed 3mo agoCompare

[ Source](https://github.com/MilliPress/Acorn-MilliCache)[ Packagist](https://packagist.org/packages/millipress/acorn-millicache)[ RSS](/packages/millipress-acorn-millicache/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

Acorn MilliCache
================

[](#acorn-millicache)

[MilliCache](https://github.com/MilliPress/MilliCache) integration for [Acorn](https://roots.io/acorn/) — a Laravel middleware that stores Acorn route responses in MilliCache's Redis/Valkey full-page cache for WordPress sites powered by the [Roots.io Stack](https://roots.io/).

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

[](#requirements)

RequirementVersionPHP&gt;= 8.1Roots Acorn^4.0 | ^5.0MilliCache^1.2.2 (auto-installed)Quick Start
-----------

[](#quick-start)

```
composer require millipress/acorn-millicache
```

Optionally publish the config:

```
wp acorn vendor:publish --tag=millicache
```

The middleware is registered automatically via Acorn's package discovery. On a cache MISS it captures the Acorn route response and stores it in Redis; on the next request `advanced-cache.php` serves it directly — no WordPress, no Acorn, no controller.

Documentation
-------------

[](#documentation)

Full documentation is available at **[millipress.com/docs/acorn-millicache](https://millipress.com/docs/acorn-millicache/)** or in the [`docs/`](docs/) directory:

- [Introduction](docs/01-getting-started/01-introduction.md)
- [Installation](docs/01-getting-started/02-installation.md)
- [Configuration](docs/02-configuration/01-configuration.md)
- [How It Works](docs/03-how-it-works/01-how-it-works.md)

Better Together: Acorn MilliRules
---------------------------------

[](#better-together-acorn-millirules)

Acorn MilliCache stores your responses — [Acorn MilliRules](https://github.com/MilliPress/Acorn-MilliRules) gives you full control over *what happens* to them. Add route-aware conditions, HTTP response actions, redirects, header manipulation, and custom cache flags — all from expressive rule classes that are auto-discovered by Acorn.

```
composer require millipress/acorn-millirules
```

Scaffold a rule in seconds:

```
wp acorn rules:make:rule RedirectLegacyPages
```

Caching is just the beginning. See the [Acorn MilliRules documentation](https://millipress.com/docs/acorn-millirules/) to explore what's possible.

Related
-------

[](#related)

- **[MilliCache](https://github.com/MilliPress/MilliCache)** — the Redis/Valkey full-page cache engine for WordPress
- **[Acorn MilliRules](https://github.com/MilliPress/Acorn-MilliRules)** — route-aware rules, conditions, and actions for Acorn
- **[millipress.com](https://millipress.com)** — MilliPress documentation and resources

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance82

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.5% of commits — single point of failure

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

Every ~2 days

Total

2

Last Release

92d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1119667d96ab4063e83fd0cd4797ec2e010d86e24e1a4bec13ce9cc5f5b045f?d=identicon)[ouun](/maintainers/ouun)

---

Top Contributors

[![ouun](https://avatars.githubusercontent.com/u/32090713?v=4)](https://github.com/ouun "ouun (23 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/millipress-acorn-millicache/health.svg)

```
[![Health](https://phpackages.com/badges/millipress-acorn-millicache/health.svg)](https://phpackages.com/packages/millipress-acorn-millicache)
```

###  Alternatives

[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)[cheprasov/php-redis-client

Php client for Redis. It is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0

1281.2M21](/packages/cheprasov-php-redis-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)

PHPackages © 2026

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