millipress/acorn-millicache
Composer 安装命令:
composer require millipress/acorn-millicache
包简介
Stores Acorn route responses in MilliCache's Redis cache
README 文档
README
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.
Requirements
| Requirement | Version |
|---|---|
| PHP | >= 8.1 |
| Roots Acorn | ^4.0 | ^5.0 | ^6.0 |
| MilliCache | ^1.2.2 (auto-installed) |
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
Full documentation is available at millipress.com/docs/acorn-millicache or in the docs/ directory:
Better Together: Acorn MilliRules
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-millirules
Scaffold a rule in seconds:
wp acorn rules:make:rule RedirectLegacyPages
Caching is just the beginning. See the Acorn MilliRules documentation to explore what's possible.
Related
- 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
License
GPL-2.0-or-later
统计信息
- 总下载量: 777
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-02-13