# MilliPress

> WordPress plugins for performance, caching, and rule-based automation — plus Acorn (Laravel) integrations for Sage and Radicle projects.

MilliPress builds commercial WordPress plugins focused on runtime performance and developer ergonomics. All products are documented from their source repositories on GitHub; each documentation page is also available as raw markdown by appending `.md` or sending `Accept: text/markdown`. The complete documentation in a single file: [llms-full.txt](https://www.millipress.com/llms-full.txt).

## Products

- [MilliCache](https://www.millipress.com/millicache/): Enterprise-grade full-page caching with surgical flag-based clearing for WordPress.
- [MilliCache Pro](https://www.millipress.com/millicache-pro/): Premium modules for MilliCache: edge cache, CDN, object cache, cache preloading, detailed metrics, and the visual rules builder.
- [Acorn MilliCache](https://www.millipress.com/docs/acorn-millicache/01-getting-started/01-introduction): Full-page caching integration for Acorn (Laravel) routes using MilliCache.
- [MilliRules](https://www.millipress.com/millirules/): A powerful rule engine for WordPress with fluent API and extensive condition system.
- [Acorn MilliRules](https://www.millipress.com/docs/acorn-millirules/01-getting-started/01-introduction): Rule engine integration for Acorn (Laravel) routes using MilliRules.

## Pages

- [MilliCache (front page)](https://www.millipress.com/): Product overview: full-page caching, flags, rules, multisite, and the Pro feature set.
- [MilliCache Pro pricing](https://www.millipress.com/millicache-pro/): Plans, pricing, and checkout for MilliCache Pro.
- [Contact & support](https://www.millipress.com/contact): Inquiries and Pro support.
- [Terms of service](https://www.millipress.com/terms): Terms for purchases and licensing.
- [Refund policy](https://www.millipress.com/refund-policy): 14-day refund window for Pro purchases.
- [Privacy policy](https://www.millipress.com/privacy-policy): GDPR privacy policy.

## MilliCache Documentation

- [What Is MilliCache?](https://www.millipress.com/docs/millicache/01-getting-started/10-introduction): MilliCache is a Redis-powered full-page cache for WordPress that serves pages from memory in under 10ms, with cache flags and rules for precise control.
- [Installation &amp; Quick Start](https://www.millipress.com/docs/millicache/01-getting-started/20-installation): Install MilliCache, the Redis page cache for WordPress, in under 5 minutes: enable WP_CACHE, connect Redis, and verify cache hits via headers or WP-CLI.
- [MilliCache Changelog](https://www.millipress.com/docs/millicache/01-getting-started/30-changelog): Release notes for every MilliCache version: new features, bug fixes, and improvements to the Redis full-page cache plugin for WordPress, with commit links.
- [Configuration Overview](https://www.millipress.com/docs/millicache/02-configuration/01-overview): Configure MilliCache through wp-config.php constants, the WordPress admin UI, or WP-CLI. Covers priority order, setting categories, and common setups.
- [Configuration Constants Reference](https://www.millipress.com/docs/millicache/02-configuration/02-reference): Complete reference of MilliCache wp-config.php constants: Redis connection, cache TTL and grace, exclusions, key composition, and update settings.
- [Cache Flags: Targeted Invalidation](https://www.millipress.com/docs/millicache/03-cache-flags/01-introduction): Cache flags tag every MilliCache entry with labels like post:123, so WordPress content changes clear only affected pages instead of the whole cache.
- [Built-in Cache Flags](https://www.millipress.com/docs/millicache/03-cache-flags/02-built-in-flags): Reference of cache flags MilliCache assigns automatically: home, post IDs, post type, taxonomy, author and date archives, feeds, and multisite prefixes.
- [Custom Cache Flags](https://www.millipress.com/docs/millicache/03-cache-flags/03-custom-flags): Create custom MilliCache cache flags via the flags filter, PHP helper functions, or rules, with wildcard patterns and tagging strategies for WordPress sites.
- [Rules Engine: Conditional Caching](https://www.millipress.com/docs/millicache/04-rules/01-introduction): MilliCache rules decide when and how WordPress pages are cached: a fluent PHP API sets conditions, TTL, and bypasses across bootstrap and WordPress phases.
- [Built-in Caching Rules](https://www.millipress.com/docs/millicache/04-rules/02-built-in-rules): Reference of MilliCache default rules: locked core bypasses, configured exclusions, logged-in and REST handling, plus the priority system for overrides.
- [Caching Rule Examples &amp; Recipes](https://www.millipress.com/docs/millicache/04-rules/03-examples): Copy-ready MilliCache rule recipes: WooCommerce cart bypass, membership sites, per-content-type TTL, and more, built with the MilliRules fluent API.
- [How Full-Page Caching Works](https://www.millipress.com/docs/millicache/05-usage/10-how-caching-works): See how MilliCache serves WordPress pages from memory: request interception via advanced-cache.php, cache keys, hits and misses, and grace period serving.
- [Cache Clearing &amp; Invalidation](https://www.millipress.com/docs/millicache/05-usage/20-cache-clearing): Clear or purge the WordPress page cache in MilliCache: automatic invalidation on content changes, plus targeted clearing by cache flags, URLs, or post IDs.
- [WordPress Multisite Caching](https://www.millipress.com/docs/millicache/05-usage/30-multisite): Run MilliCache on WordPress multisite: network activation, per-site cache isolation via flag prefixes, network-wide settings, and site or network clearing.
- [WP-CLI Commands](https://www.millipress.com/docs/millicache/06-wp-cli/01-commands): Complete WP-CLI cache command reference for MilliCache: clear, stats, status, test, drop, and config, with options for flags, URIs, and multisite targets.
- [Plugin Architecture](https://www.millipress.com/docs/millicache/07-developers/01-architecture): Inside the MilliCache architecture: the Engine singleton, Redis storage layer, cache manager, invalidation queue, and the advanced-cache.php request flow.
- [Action Hooks &amp; Filters](https://www.millipress.com/docs/millicache/07-developers/02-hooks-filters): Reference of every MilliCache WordPress hook and filter: cache storage and clearing events, flag assignment, settings, REST API, and capability checks.
- [PHP &amp; REST API Reference](https://www.millipress.com/docs/millicache/07-developers/03-api-reference): MilliCache developer API reference: PHP functions for clearing cache and managing flags, plus REST endpoints under /millicache/v1/ for remote control.
- [Storage Backends: Redis, ValKey, KeyDB &amp; Dragonfly](https://www.millipress.com/docs/millicache/08-storage-backends/01-overview): Compare MilliCache storage backends: Redis, ValKey as a drop-in Redis replacement, KeyDB, and Dragonfly, with connection setup and managed hosting tips.
- [Troubleshooting](https://www.millipress.com/docs/millicache/09-troubleshooting/01-common-issues): Fix common MilliCache errors: Redis connection refused, pages not caching, drop-in conflicts, and stale content, using WP-CLI diagnostic commands.
- [Frequently Asked Questions](https://www.millipress.com/docs/millicache/09-troubleshooting/02-faq): Answers to frequent MilliCache questions on WordPress caching: requirements, verifying cache hits, WooCommerce, troubleshooting errors, and Pro features.

## MilliCache Pro Documentation

- [What Is MilliCache Pro?](https://www.millipress.com/docs/millicache-pro/01-getting-started/10-introduction): MilliCache Pro extends the MilliCache full-page cache for WordPress with premium modules: edge caching, asset CDN, object cache, preloading, rules, and metrics.
- [Installing MilliCache Pro](https://www.millipress.com/docs/millicache-pro/01-getting-started/20-installation): Install MilliCache Pro on WordPress via ZIP upload or Composer, upgrade from MilliCache without migration, and manage updates, prereleases, and multisite.
- [Licensing](https://www.millipress.com/docs/millicache-pro/01-getting-started/30-licensing): Activate and manage your MilliCache Pro license: seats and grace states, wp-config.php constants, site migrations, and multisite network or per-site keys.
- [MilliCache Pro Changelog](https://www.millipress.com/docs/millicache-pro/01-getting-started/40-changelog): Version-by-version MilliCache Pro release notes: new features, bug fixes, and improvements, including changes in each bundled MilliCache engine update.
- [Modules Overview](https://www.millipress.com/docs/millicache-pro/02-modules/01-overview): MilliCache Pro splits its features into modules you enable individually: entries browser, rules builder, preloading, metrics, edge cache, CDN, and object cache.
- [Cache Entries Browser](https://www.millipress.com/docs/millicache-pro/02-modules/02-cache-entries): Browse every cached page from the MilliCache Pro Entries tab: search URLs and flags, inspect variants, size, and expiry, and delete entries individually.
- [Visual Rules Builder](https://www.millipress.com/docs/millicache-pro/02-modules/03-rules-builder): Build WordPress caching rules visually with MilliCache Pro: match by URL, cookie, or conditionals, set TTLs, bypass the cache, and override built-in rules.
- [Block Editor Cache Intelligence](https://www.millipress.com/docs/millicache-pro/02-modules/04-block-editor): MilliCache Pro tracks block relationships in WordPress: edits to synced patterns, Query Loops, and Site Editor templates clear exactly the affected pages.
- [Cache Preloading](https://www.millipress.com/docs/millicache-pro/02-modules/05-cache-preloading): Preload the WordPress cache automatically with MilliCache Pro: pages rewarm after publishing and the full cache refills from your XML sitemaps after a clear.
- [Detailed Metrics &amp; Insights](https://www.millipress.com/docs/millicache-pro/02-modules/06-detailed-metrics): MilliCache Pro charts requests, bandwidth, hit ratio, and response times on the Status dashboard, with hourly and daily history and visitor time saved.
- [Edge Cache (CDN Page Caching)](https://www.millipress.com/docs/millicache-pro/02-modules/07-edge-cache): Serve WordPress pages from bunny.net or Cloudflare edge locations. MilliCache Pro tags every page at the CDN and purges it in sync with the local cache.
- [Asset CDN](https://www.millipress.com/docs/millicache-pro/02-modules/08-cdn): Offload CSS, JavaScript, images, and fonts to a CDN pull zone. MilliCache Pro rewrites asset URLs and bakes them into the WordPress page cache at zero cost.
- [Persistent Object Cache](https://www.millipress.com/docs/millicache-pro/02-modules/09-object-cache): MilliCache Pro ships a persistent Redis object cache drop-in for WordPress, reusing the page cache connection to speed up wp-admin and uncached pages.
- [High-Availability Storage Connections](https://www.millipress.com/docs/millicache-pro/02-modules/10-storage-connections): Configure Redis replication and Sentinel from the MilliCache Pro settings UI: a visual connection editor covers single-server, replica, and Sentinel setups.
- [WP-CLI Commands](https://www.millipress.com/docs/millicache-pro/03-wp-cli/01-commands): Complete WP-CLI reference for MilliCache Pro: license, module, entries, rules, preload, metrics, edge, cdn, and object-cache commands with usage examples.

## Acorn MilliCache Documentation

- [Introduction](https://www.millipress.com/docs/acorn-millicache/01-getting-started/01-introduction): Acorn MilliCache stores Acorn and Laravel route responses in MilliCache's Redis full-page cache, bringing WordPress-grade caching to Roots stack routes.
- [Installation](https://www.millipress.com/docs/acorn-millicache/01-getting-started/02-installation): Install Acorn MilliCache with Composer in your Bedrock or Sage project, publish the config, and verify Redis caching of Acorn routes with a HIT header.
- [Configuration](https://www.millipress.com/docs/acorn-millicache/02-configuration/01-configuration): Configuration reference for Acorn MilliCache: middleware groups, manual StoreResponse registration, and automatic cache clearing on Artisan commands.
- [How It Works](https://www.millipress.com/docs/acorn-millicache/03-how-it-works/01-how-it-works): How Acorn MilliCache caches Laravel route responses in WordPress: the StoreResponse middleware pipeline, cache flags, clearing, and the Redis HIT path.
- [Changelog](https://www.millipress.com/docs/acorn-millicache/04-reference/04-changelog): Acorn MilliCache release history: new features, fixes, and Acorn compatibility updates for the Laravel route caching bridge to MilliCache and Redis.

## MilliRules Documentation

- [Introduction to MilliRules](https://www.millipress.com/docs/millirules/01-getting-started/01-introduction): MilliRules is a declarative PHP rules engine for WordPress and any PHP app. Define conditions and actions with a fluent when/then API instead of if-else chains.
- [Quick Start Guide](https://www.millipress.com/docs/millirules/01-getting-started/02-quick-start): Install MilliRules via Composer and initialize the PHP rules engine in minutes, with package auto-detection, verification steps, and common pitfalls to avoid.
- [Creating Your First Rule](https://www.millipress.com/docs/millirules/01-getting-started/03-first-rule): Build your first MilliRules rule step by step: a WordPress example with URL conditions, a custom logging action, and fixes for common beginner mistakes.
- [Rules, Conditions, and Actions](https://www.millipress.com/docs/millirules/02-core-concepts/01-concepts): How MilliRules works under the hood: rules combine conditions and actions, execute in order against a shared context, and use locking to prevent overrides.
- [Understanding the Package System](https://www.millipress.com/docs/millirules/02-core-concepts/02-packages): How MilliRules packages bundle conditions, actions, and context providers: the PHP and WordPress packages, dependency resolution, and lazy context loading.
- [Building Rules with the Fluent API](https://www.millipress.com/docs/millirules/02-core-concepts/03-building-rules): Compose custom rules with the MilliRules fluent PHP API: chain when/then methods, combine match types in condition groups, and hook into WordPress.
- [Operators and Pattern Matching](https://www.millipress.com/docs/millirules/02-core-concepts/04-operators): Guide to all 13 MilliRules matching operators: equality, comparison, LIKE wildcards, REGEXP, and fixes when the value does not match the pattern you expect.
- [Dynamic Placeholders](https://www.millipress.com/docs/millirules/02-core-concepts/05-placeholders): Inject runtime values into MilliRules actions with placeholders like {request.uri} and {user.login}, plus custom resolvers for your own PHP context data.
- [Creating Custom Conditions](https://www.millipress.com/docs/millirules/03-customization/01-custom-conditions): Four ways to create custom conditions in MilliRules: inline callbacks, registered PHP closures, and BaseCondition classes with operator and metadata support.
- [Creating Custom Actions](https://www.millipress.com/docs/millirules/03-customization/02-custom-actions): Create custom actions in MilliRules with PHP callbacks or BaseAction classes: typed argument access, placeholder resolution, and metadata for UI rule builders.
- [Creating Custom Packages](https://www.millipress.com/docs/millirules/03-customization/03-custom-packages): Bundle custom conditions, actions, context providers, and placeholder resolvers into reusable MilliRules packages, with a complete PHP membership example.
- [Real-World Examples](https://www.millipress.com/docs/millirules/04-advanced/01-examples): Complete MilliRules examples for WordPress: page caching, access control, API rate limiting, feature flags, WooCommerce rules, and a full membership system.
- [Advanced Patterns](https://www.millipress.com/docs/millirules/04-advanced/02-advanced-patterns): Advanced MilliRules techniques: early execution before WordPress loads, performance-ordered conditions, debugging with execution stats, and testing rules.
- [WordPress Integration Guide](https://www.millipress.com/docs/millirules/04-advanced/03-wordpress-integration): Integrate the MilliRules PHP rules engine with WordPress: hook-based execution, is_* conditional tags, hook arguments in context, and WooCommerce patterns.
- [Built-in Conditions Reference](https://www.millipress.com/docs/millirules/05-reference/01-conditions): Reference for every built-in MilliRules condition: PHP request URL, method, header, cookie, and constant checks plus WordPress is_* and has_* conditionals.
- [Built-in Actions Reference](https://www.millipress.com/docs/millirules/05-reference/02-actions): How the MilliRules action system works: callback and class-based actions, execution order, context access, and reusable patterns for redirects and caching.
- [Complete API Reference](https://www.millipress.com/docs/millirules/05-reference/03-api): Full API documentation for MilliRules: every public class and method with parameters, return types, and PHP examples, from Rules::create() to ArgumentSchema.
- [MilliRules Changelog](https://www.millipress.com/docs/millirules/05-reference/04-changelog): Version history for the MilliRules PHP rules engine: new features, bug fixes, and breaking changes for every release, from 0.1.0 to the current version.

## Acorn MilliRules Documentation

- [Introduction](https://www.millipress.com/docs/acorn-millirules/01-getting-started/01-introduction): Acorn MilliRules adds route-aware conditions, HTTP response actions, WP-CLI commands, and rule auto-discovery to Laravel routes in Acorn on the Roots stack.
- [Installation](https://www.millipress.com/docs/acorn-millirules/01-getting-started/02-installation): Install Acorn MilliRules with Composer in your Acorn project, publish config and stubs, verify the WP-CLI commands, and build your first Laravel route rule.
- [Creating Rules](https://www.millipress.com/docs/acorn-millirules/02-usage/01-creating-rules): Write rule classes for Acorn MilliRules: scaffold with rules:make, auto-discovery from app/Rules, rule ordering, and multiple rules per class in Acorn.
- [Conditions and Actions](https://www.millipress.com/docs/acorn-millirules/02-usage/02-conditions-and-actions): Built-in Acorn MilliRules conditions and actions: match Laravel route names, parameters, and controllers, then set response headers or redirect requests.
- [Artisan Commands](https://www.millipress.com/docs/acorn-millirules/02-usage/03-artisan-commands): Reference for all eight Acorn MilliRules WP-CLI commands: list, inspect, and scaffold rules, conditions, and actions with wp acorn rules commands.
- [Custom Conditions and Actions](https://www.millipress.com/docs/acorn-millirules/03-customization/01-custom-conditions-and-actions): Create custom conditions and actions for Acorn MilliRules: scaffold your own types, use the ResponseCollector API, and read Laravel route context.
- [Configuration](https://www.millipress.com/docs/acorn-millirules/03-customization/02-configuration): Acorn MilliRules configuration reference: middleware groups, manual ExecuteRules registration on Laravel routes, and customizing scaffolding stubs.
- [Conditions Reference](https://www.millipress.com/docs/acorn-millirules/04-reference/01-conditions): Complete reference for Acorn MilliRules route conditions: route_name, route_parameter, and route_controller with all operators and builder syntax.
- [Actions Reference](https://www.millipress.com/docs/acorn-millirules/04-reference/02-actions): Complete reference for Acorn MilliRules actions: redirect and set_header, with builder syntax, placeholder support, behavior notes, and examples.
- [Route Context Reference](https://www.millipress.com/docs/acorn-millirules/04-reference/03-route-context): Reference for the Acorn MilliRules route context: Laravel route name, parameters, controller, URI, and middleware keys, with placeholder usage.
- [Changelog](https://www.millipress.com/docs/acorn-millirules/04-reference/04-changelog): Acorn MilliRules release history: new features, fixes, and breaking changes across versions of the rules engine integration for Acorn and Laravel.
