WordPress Full-Page Cache with Surgical Control
In-memory caching powered by Redis or ValKey. Built for scaling WordPress sites and networks, driven by Rules and Flags.
Fluent DSL for cache rules · Explore full demo
Click flags to select · Explore full demo
Get MilliCache
Free and open source. Install via Composer, WP-CLI, or download the ZIP directly.
Direct Download
Download the latest release as a ZIP file.
WP-CLI
Install and activate with a single command.
Composer
Install as a Composer dependency.
Flag-Based Cache Management
Tag cached pages with flags, then clear related entries with a single command. No more all-or-nothing cache purges.
Custom Flags
Built-in flags work automatically. Create custom flags when you need control over specific relationships.
Wildcard Patterns
Target groups of content with patterns like
post:*.
Clear hundreds of entries with one command.
Multisite & Networks
Each site gets isolated flags. Clear one site, a subset, or an entire network — with full control.
Click flags to select · Hover to highlight · Enter to clear
Rules Automate Your Cache Strategy
A fluent API to configure what gets cached, how long it lives, and exactly when to clear it. Hook into any event, use any condition, trigger any action.
If This, Then Cache
Like smart home automation for your cache. Define the rules, and let them handle the rest — automatically.
Surgical Precision
Highest flexibility with Rules & Flags. Define exactly what gets cached, for how long, and what triggers a purge.
Extensible by Design
Built-in support for any WordPress hook, is_*() and has_*() conditionals. Need custom logic? Easy!
Built for Scale
From single server to global edge caching. MilliCache grows with your requirements and infrastructure.
Single Server
One WordPress instance with Redis or Valkey. The simplest setup that delivers dramatic speed improvements.
-
Millisecond responses
Cached pages served from memory, bypassing WordPress
-
Better Core Web Vitals
Faster TTFB improves SEO rankings and user experience
-
Stale-while-revalidate
Visitors never wait — serve stale, regenerate in background
Faster responses and more concurrent requests from one server.
Developer Experience
WP-CLI commands, extensive hooks, and debug tools. Everything you need for precise cache control.
Stale-While-Revalidate
Full WP-CLI Control
Debug Headers
X-MilliCache-* headers show cache status, flags, and keys.
Our browser extension makes debugging a breeze.
REST API
/millicache/v1/* endpoints for cache control, status checks, and settings — ideal for CI/CD and monitoring.
Extensive Hooks
millicache_flags_for_request, millicache_cache_cleared and 25+ other hooks for complete customization.
Flexible Config
PHP constants, config files, Settings UI, or WP-CLI. All write to version-controllable files.
Smart Invalidation
Cache clears automatically when posts, menus, or theme settings change. No manual purging needed.
Open Source
GPL-2.0+ licensed. Audit the code, contribute, or fork. No vendor lock-in.
MilliCache Pro
Enterprise-grade caching for devs, agencies and high-traffic sites.
Built for those who need more or want to support the project.
Early subscribers get exclusive launch pricing. No spam — only product updates and release announcements.
Why Redis?
File-based caching works — until you need more.
One Cache, All Servers
Load-balanced? Every server shares the same cache. No cold starts, no duplicated work.
Smart Invalidation
Redis Sets let you tag cache entries. Update a product? Clear only pages showing that product.
Built for Scale
Redis Cluster, Sentinel, persistence. Enterprise-grade infrastructure you already know.
"We run 7 sites on a single origin server — WordPress, MySQL, Redis, all on one machine. We backed MilliCache Pro early to get edge integration, and went from 1s+ to 50ms response times worldwide. Traffic spikes from any region just hit the CDN."new7wonders.com • WordPress Multisite
Common Questions
How is this different from object caching in WordPress?
WordPress supports object caching to store database query results in memory, reducing repeated database calls. However, MilliCache is a full-page cache — it stores the complete rendered HTML output. While object caching speeds up dynamic page generation, full-page caching skips WordPress execution entirely by serving pre-built pages. They're complementary: use object caching for dynamic content, MilliCache for static page delivery.
Do I need Redis? Does it work with my hosting?
Yes, MilliCache requires Redis, ValKey, KeyDB, or Dragonfly — file-based caching doesn't support the shared cache needed for horizontal scaling or the atomic operations for flag-based clearing. Most managed WordPress hosts like WP Engine, Kinsta, Cloudways, and GridPane include Redis. Self-hosted? DigitalOcean, AWS, or any VPS where you control Redis configuration works perfectly.
Will this plugin spam my dashboard with notifications?
No. MilliCache does one thing: full-page caching. No upsell notifications, no dashboard banners, no cross-selling other plugins. Just clean, focused cache control with WP-CLI tools for automation.