MilliCache integration for 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.
| Requirement | Version |
|---|---|
| PHP | >= 8.1 |
| Roots Acorn | ^4.0 | ^5.0 |
| MilliCache | ^1.2.2 (auto-installed) |
composer require millipress/acorn-millicacheOptionally publish the config:
wp acorn vendor:publish --tag=millicacheThe 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.
Full documentation is available at millipress.com/docs/acorn-millicache or in the docs/ directory:
Acorn MilliCache stores your responses — 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-millirulesScaffold a rule in seconds:
wp acorn rules:make:rule RedirectLegacyPagesCaching is just the beginning. See the Acorn MilliRules documentation to explore what's possible.
- MilliCache — the Redis/Valkey full-page cache engine for WordPress
- Acorn MilliRules — route-aware rules, conditions, and actions for Acorn
- millipress.com — MilliPress documentation and resources
GPL-2.0-or-later