In December 2025, we released MAx Cache for Apache, a native module that serves cached WordPress pages directly from the web server without invoking PHP. Today, we're bringing that same capability to Nginx with a purpose-built module that delivers even greater performance gains than the Apache version.
MAx Cache for Nginx works alongside AccelerateWP: hosting providers deploy it at the server level, and site owners enable it through the AccelerateWP plugin in WordPress.
Running PHP is expensive. Traditional WordPress caching solutions still require PHP to handle routing decisions, process headers, and determine which cached page to serve, even when the content is already static. That overhead adds up, especially under high traffic.
MAx Cache moves all of that logic out of PHP and into the web server itself. Routing decisions and cache-key computation happen in C, so PHP runs only on cache misses. We first delivered this for Apache. Now, the Nginx implementation takes it further by leveraging Nginx's event-driven architecture and a shared-memory configuration approach that eliminates file I/O entirely on the request path.
In our internal benchmarks, MAx Cache for Nginx delivers:
These gains exceed what we measured with the Apache module (~2x RPS, ~2x TTFB). The difference reflects the combined effect of Nginx's efficient event-driven architecture and MAx Cache's shared-memory configuration, which avoids disk I/O on every request. We expect these gains to be even more pronounced under high concurrency.
MAx Cache for Nginx is included with all CloudLinux licenses at no additional cost. For hosting providers running Nginx, the benefits are twofold. On the server side, lower CPU and memory consumption means higher hosting density. On the customer side, faster page loads and improved TTFB translate to a better experience for the people visiting your customers' sites. Faster sites mean happier end customers, lower churn, and fewer performance-related support tickets.
Combined with AccelerateWP, MAx Cache delivers WordPress performance that plugin-only caching solutions cannot match. Plugins still route every request through PHP, even cached ones. MAx Cache bypasses PHP entirely for cached pages. That is a server-level optimization no WordPress plugin can replicate.
Nginx is a fundamentally different web server from Apache. It doesn't read .htaccess files, doesn't support per-directory configuration overrides, and uses a different request processing model. Porting the Apache module directly wouldn't work. Instead, MAx Cache for Nginx shares the same core caching logic but uses a purpose-built configuration and request-handling architecture designed for Nginx.
Both the Apache and Nginx modules use libmaxcache, a shared C library that handles:
This shared library ensures that both modules produce bit-for-bit identical cache paths, so the same cached pages work regardless of which web server is in front.
Nginx doesn't read .htaccess files or support per-directory configuration overrides, so MAx Cache for Nginx introduces maxcache-configd, a lightweight configuration daemon that bridges the gap:
This means configuration updates take effect immediately without requiring an Nginx restart or reload. When a site owner toggles MAx Cache in their WordPress dashboard, the change is live within milliseconds.
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 libmaxcache-configd --enablerepo=cloudlinux-updates-testing
yum install ea-nginx-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:
We are eager to hear how MAx Cache performs in your hosting environment. As this is a beta release, your feedback is invaluable in helping us refine the module before general availability. Please use the CloudLinux Feature Portal to provide any feedback or ideas.
Follow our blog for updates on our progress and the latest releases.