At CloudLinux, we're committed to building performance solutions that help hosting providers run websites faster and more efficiently. As part of our AccelerateWP performance optimization solution, we're excited to announce the beta release of MAx Cache. It's an Apache module that changes how WordPress sites handle requests by running PHP only on cache misses, while cached pages for subsequent requests are served by Apache without invoking PHP. The result: significantly faster page load times.
This first release is available as a beta for early adopters who want to test it in real hosting environments. It currently supports cPanel on CloudLinux 7/8/9 Shared Pro, Admin, and Solo editions.
Running PHP is expensive. One of the key ways to speed up websites is to completely bypass it for most requests. Traditional WordPress caching solutions often still require PHP to handle routing decisions, process user agent information, evaluate headers, and determine which cached page to serve - even when serving static content.
Previously, AccelerateWP handled all routing in PHP. While functional, this approach adds processing overhead compared to solutions where routing decisions are made at the web server level.
We've created mod_maxcache, an Apache 2.4 module that moves the decision-making process from PHP to C.
The module computes cache-key inputs — including device type, WebP support, logged-in user status, dynamic cookies, and normalized query strings — and exposes them to .htaccess rules as variables.
AccelerateWP uses these module-provided variables to build a proper cache path in the .htaccess configuration, allowing Apache to serve the correct static page without invoking PHP.
In short, the module makes routing decisions in C and serves pre-generated pages immediately, bypassing PHP entirely for cached requests.
By moving routing logic from PHP to a native Apache module, MAx Cache reduces PHP overhead and significantly improves performance.
In our internal benchmarks, MAx Cache:
Currently, MAx Cache supports cPanel on CloudLinux 7/8/9 Shared Pro, Admin, and Solo editions. Our upcoming plans include adding support for Plesk, DirectAdmin, and no-panel installations, expanding the availability of this performance solution across different hosting environments.
In order for MAx Cache to function on a website, it needs to be deployed at the server level, and also activated in AccelerateWP by the WordPress administrator at the website level.
yum install accelerate-wp cloudlinux-site-optimization-module libmaxcache --enablerepo=cloudlinux-updates-testing
yum install ea-apache24-mod_maxcache --enablerepo-cl-ea4-testing
cloudlinux-awp-admin maxcache enable --all
Once MAx Cache is successfully installed on the server, website owners can activate it for their websites with the following steps:
MAx Cache represents the first step in our vision for a comprehensive performance solution. The next phase of development will focus on implementing a similar module for Nginx, extending these performance benefits to Nginx-based hosting environments. This will ultimately result in a high-performance caching solution that works across both Apache and Nginx platforms.
Stay tuned for updates on our progress and more details by following our blog.
We've decided to try a different approach to website optimization, and MAx Cache is the result of that effort. For now, MAx Web Sever has been deprioritized while we focus on MAx Cache.