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
Invalidation that understands the Block Editor
MilliCache Pro maps which pages depend on which blocks. Edit one synced pattern or template and only the pages that render it are cleared, never the whole cache.
Query & dynamic blocks
Pages embedding Query or Latest Posts blocks are tracked. When their underlying content changes, exactly those pages refresh.
Synced patterns
Save a reusable pattern and every page using it clears automatically. Pages without it stay warm and untouched.
FSE templates & parts
Edit a Site Editor template and only the pages it renders are cleared; change a global header part and everything using it refreshes.
Only the pages using this pattern were cleared. The rest of the cache stayed warm.
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.
When 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!
The Rules Engine: Visual & Interactive
Everything the code Rules API can do, but from your Dashboard. Build conditions & actions, reorder, toggle, and safely override rules registered in code.
Visual condition builder
Search WordPress conditionals, combine them, target templates and previews. No PHP required.
Override code rules safely
User rules layer on top of code-registered ones, with override badges showing exactly what wins and why.
Site & network scope
Manage rules per site, or network-wide from the network admin. Each scope keeps its own ordered, prioritised list.
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.
Fast everywhere: Edge Cache and CDN assets
Two independent modules for global delivery, doing two different jobs: the Edge Cache serves your pages from the edge, the CDN module offloads your static assets.
Edge Cache: your pages
Full pages mirrored to the edge, carrying the same cache flags as Redis. Edit a post and both origin and edge clear surgically via tag-based purges, with no stale edge copies. On networks, tags are prefixed per site.
Supports bunny.net and Cloudflare today. More following.
CDN: your static assets
CSS, JS, images and fonts point at your CDN hostname, baked into the cached HTML at write time. Cache hits pay zero rewrite cost, and your server stops serving bytes a CDN handles better.
Works with any CDN that pulls from your origin.
Run either module on its own, or combine them so pages come from the edge cache while assets ship from your CDN, even across different providers. Configure both once for the whole network.
Never serve a cold cache
After every clear, Pro rebuilds the cache itself, so the first visitor is just as fast as the millionth.
Sitemap preloading
After a full clear, every URL in your XML sitemap is fetched and cached in the background, nested sitemaps included.
Publish-aware warming
Hit Publish and Pro re-warms exactly what changed: the page itself plus the archives it appears on. Nothing more.
Throttled background jobs
Preloads run as scheduled background jobs, a few URLs at a time, so your visitors never compete with the preloader.
Visitors never hit a cold page. The preloader already did.
Object Cache included: same storage, zero setup
A persistent Object Cache drop-in that reuses the Redis your Page Cache already runs on. One backend, one lifecycle, no extra plugin.
One storage for everything
Pages and objects share the same Redis store and credentials. No second service to provision, monitor or pay for.
Fast where the Page Cache stops
Database queries and computed values come from memory, speeding up the Dashboard, logged-in users and every request the Page Cache skips.
Managed lifecycle
Installed, cleared and updated together with the page cache. Detects foreign drop-ins and never overwrites another plugin's file.
Object Cache
Speeds up WordPress itself. Whenever WordPress runs, it looks up options, query results and objects. The Object Cache serves that data from Redis instead of MySQL.
-
Fast where the Page Cache stops
The Dashboard, logged-in users and bypassed requests always run WordPress
-
Data from memory
Repeated lookups skip MySQL and return in microseconds
-
Zero setup with Pro
One toggle. It reuses the Redis your Page Cache already runs on
Watch the editor's request: with the Object Cache ON, MySQL sits mostly idle.
See exactly what's cached, and why
A cache you can look inside: browse every entry with its flags and variants, and watch real detailed traffic charts. On multisite, both work across the whole network.
Cache entry browser
Search by URL, title or flag pattern, wildcards included. Filter by content type, site or compression, and delete entries one by one or in bulk.
Variant & meta inspection
Every entry shows its flags, TTL, grace period, size, headers and compression, with variants grouped so you see what's really stored.
Metrics & REST endpoint
Requests, bandwidth and response times charted over configurable retention windows, network-wide on multisite, and exposed via REST for your own dashboards.
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.
And more in Pro
The rest of what a Pro license unlocks, from enterprise Redis topologies to a licensing model that respects your time.
Sentinel & replica topologies
Connect to Redis master/replica sets or Sentinel clusters with per-node credentials and persistent connections.
Composer support
Require MilliCache Pro like any other dependency via our private Composer repository. Built for Bedrock and CI deploys.
Instant updates
Update from the WordPress dashboard automatically or in one click the moment a release ships.
Priority support
Direct, prioritised email support from the people who build MilliCache, not a ticket queue.
Bundles the free core
Pro ships the open-source engine inside and deactivates the free copy automatically. No migration, no duplicate plugins.
Modular by design
Every Pro capability is its own module. Enable only what you need; everything else stays out of the request path.
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
MilliCache Pro
MilliCache already makes WordPress fast. For higher demands, Pro is the logical completion: every feature above in a single plugin.
Common Questions
How is this different from object caching in WordPress?
Object caching stores database query results and computed data in memory, so pages build faster whenever WordPress runs. MilliCache is a full-page cache: it stores the finished HTML and serves it straight from Redis, skipping WordPress and the database entirely. They're complementary layers, and with MilliCache Pro you get both from a single plugin: its Object Cache drop-in reuses the same storage your page cache already runs on.
Do I need Redis? Does it work with my hosting?
Yes, MilliCache requires Redis, Valkey, Dragonfly, or any compatible backend. 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, Ploi.io and GridPane include Redis. Self-hosted? DigitalOcean, AWS, or any VPS where you control Redis configuration works perfectly.
When is MilliCache Pro available?
Very soon: MilliCache Pro ships in July 2026, only days from now. The full feature story is already on this page, and launch comes with introductory launch pricing for the first year. Join the newsletter in the MilliCache Pro section above and you'll know the moment it goes live.
Will this plugin spam my dashboard with notifications?
No. No admin notices fighting for your attention, no dashboard banners, no cross-selling other plugins. The only mention of Pro is a single small line below the cache statistics on MilliCache's own settings page, and that's where it stays. Just clean, focused cache control with WP-CLI tools for automation.