TL;DR:
Introducing MilliCache, a highly flexible WordPress full-page caching solution based on Redis for exceptional speed, easy scalability, and efficient, targeted cache invalidation. Seeking feedback from fellow developers!
What?
@vdrnn and I have been working on a new WordPress plugin called MilliCache. We aim to make it the most flexible full-page caching solution for WordPress. So what makes it different from others?
- Lightning Fast : In-memory full-page caching using Redis.
- Efficient Cache Invalidation : Allows for highly targeted cache clearing, greatly increasing efficiency and flexibility.
- Cache Flagging : Supports complex cache logic and selective clearing.
- Expired Cache Handling : Regenerates cache in the background without affecting user experience.
- Multisite Optimized : Ideal for WordPress Multisite and Multi-Network environments.
- Scalable : Works with Redis clusters.
- Compatible : Works with Redis Server, KeyDB, Dragonfly, and coexists with Redis Object Cache plugins like WP Redis and Redis Object Cache.
Why?
We have worked on some large-scale projects in the past that were either running horizontally scaled behind load balancers and needed to share the same cache, or were Multisite setups that required a more flexible cache invalidation system based on the usage of specific content. Furthermore, we needed the caching solution to function as a second-layer cache behind edge caches at the CDN. I tried most existing solutions but always encountered limitations that made them inadequate for our needs.
How?
The plugin is currently under active development, and I would greatly appreciate it if some of you could test it out and share your thoughts. Since I am not yet comfortable publishing it publicly, please send me a PM with your GitHub username, and I will add you to the repo .
Thank you in advance for your time and feedback!