定制 millipress/acorn-millicache 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固