Coexistence Mode & 22 Managed WordPress Hosts
Run KadiCache safely alongside Kinsta, WP Engine, Cloudways, SiteGround, Pantheon, Pressable, SpinupWP, and 15+ other managed hosts without overwriting host drop-ins.
- Automatically detects 22 managed WordPress hosting platforms in
HostRegistry.php(Kinsta,WP Engine,Cloudways,SiteGround,Pantheon,Pressable,SpinupWP,Flywheel,WordPress.com,RunCloud,Pagely, and more). - Never overwrites a foreign or host-managed
wp-content/advanced-cache.phpfile (DropinInspector.php), entering Coexistence Mode automatically. - Synchronizes single-URL and full-site cache purges directly to host Varnish, Nginx FastCGI, and edge layers via
HostPurge.phpwithout infinite purge loops. - Disables
.htaccessrewrite edits automatically on Nginx/managed platforms (HostRegistry::htaccessDisabled()) and warns ifmod_pagespeed(ServerOptimizerNotice.php) or a competing cache plugin is active.
Why Managed WordPress Hosting Breaks Traditional Cache Plugins#
Managed WordPress platforms—such as Kinsta, WP Engine, Pantheon, Pressable, Flywheel, WordPress.com Business/VIP, and SiteGround—run their own upstream Nginx FastCGI, Varnish, or edge page-caching layer in front of PHP. Many of those platforms also place a locked, platform-owned wp-content/advanced-cache.php drop-in or mu-plugin inside every WordPress installation, and run pure Nginx containers where .htaccess files are ignored or restricted.
Installing a legacy WordPress cache plugin that forcefully overwrites advanced-cache.php or injects conflicting Cache-Control headers on managed hosts causes three severe production bugs:
- Double-Caching Stale Loops: Origin disk cache serves old HTML to the host’s Varnish/Nginx cache during purges, causing updated WooCommerce prices or news headlines to stay stuck for hours.
- Broken Host Tooling & Staging: Overwriting a host-owned
advanced-cache.phpbreaks host dashboard purge buttons, geolocation headers, or staging environment bypasses. - Recursive Purge Storms: Hook listeners between the plugin and the host MU-plugin trigger each other back-and-forth until PHP exhausts stack memory.
KadiCache was engineered from the ground up in HostRegistry.php, HostCapabilities.php, HostPurge.php, and DropinInspector.php to work harmoniously on every WordPress host—claiming full Early PHP Drop-In ownership where local caching belongs, and entering smooth Coexistence Mode whenever a managed host owns the HTML edge layer.
Complete Matrix of Detected Managed Hosts (HostRegistry::providers())#
HostRegistry.php inspects verified platform constants, environment variables, helper classes, and server markers (never guessing from spoofable client headers alone) across 22 hosting providers:
| Hosting Provider | Page Cache Owner Mode | Automated Host Purge Bridge | Upstream Cache Header | .htaccess Edits |
|---|---|---|---|---|
| Kinsta | Host Coexistence | Surgical URL & Full Purge (kinsta_cache) | x-kinsta-cache | Auto-Disabled (Nginx) |
| WP Engine | Host Coexistence | Native WpeCommon Varnish/Edge Purge | x-cache | Auto-Disabled |
| Cloudways | Local Early Cache + Varnish | Surgical x-varnish URL & Full Purge | x-varnish | Supported (Apache+Varnish) |
| SiteGround | Host Coexistence | SiteGround_Helper Dynamic Cache Purge | x-proxy-cache | Supported |
| Pantheon | Host Coexistence | pantheon_wp_clear_edge_paths Global CDN | x-pantheon-styx-hostname | Auto-Disabled (Nginx) |
| SpinupWP | Host Coexistence | spinupwp_purge_url / spinupwp_purge_site | fastcgi-cache | Auto-Disabled (Nginx) |
| Pressable / WordPress.com | Host Coexistence | Native Edge Cache Flush Integration | x-nananana / x-ac | Auto-Disabled |
| Flywheel / Pagely / Pressidium | Host Coexistence | Native Platform Cache Purge Hooks | x-fw-cache / x-ninukis-cache | Auto-Disabled |
| RunCloud / WPX / GoDaddy / DreamPress | Host Coexistence | Native Hub / Varnish / WPaas Purge | x-runcloud-cache / x-varnish | Host-Matched |
| o2switch / WP Serveur | Local Early Cache + Varnish | Local Early HIT + Varnish Key/URL Purge | x-vc-cache / x-varnish | Supported |
| Raidboxes / Savvii / Presslabs / one.com | Host Coexistence | Native Host Flush APIs | x-rb-cache / x-vc-enabled | Host-Matched |
Notice the essential architectural distinction on Cloudways, o2switch, and WP Serveur ('owner' => 'local'): those platforms sit Varnish in front of standard writable WordPress directories and benefit from both KadiCache’s local advanced-cache.php Early Delivery (handling origin cache misses and conditional requests in ~14 ms) and automatic Varnish PURGE synchronization (HostRegistry::cloudwaysVarnishActive() respects HTTP_X_APPLICATION: varnishpass whenever Varnish is disabled for an app)!
What KadiCache Runs When Coexistence Mode Is Active#
When your site runs on a Host Coexistence platform (like Kinsta, WP Engine, Pantheon, or SpinupWP), KadiCache automatically yields wp-content/advanced-cache.php to the host while keeping all other high-impact speed engines 100% active:
- Full Front-End & Core Web Vitals Optimization: Defer & Safe Delay JavaScript, Cloud Remove Unused CSS, Pro Local Improve LCP, Zero-CLS Layout Stability, Zero-CLS Lazy Render, Cloud WebP Images, Self-Hosted Google Fonts, and Media Lazyload optimize your HTML before the host’s edge/Nginx cache stores the response!
- Persistent Object Cache Awareness (
ObjectCacheDropinManager): Respects host-managedobject-cache.phpdrop-ins or lets you enable KadiCache’s 7-Driver Object Cache cleanly where permitted. - Unified 1-Click Purge Synchronization (
HostPurge.php): Clicking Purge All or Clear this page in KadiCache (or updating a WooCommerce product) flushes KadiCache’s optimized asset state first and then triggers the host’s native edge/Varnish purge so the host immediately caches the freshly optimized page. - Cookieless p75 RUM, PageSpeed Lab & 20-Tool AI MCP: Work identically on every managed host.
Switching Ownership From a Deactivated Third-Party Cache Plugin (DropinTakeover.php)#
What if you are on a standard VPS, cPanel, Plesk, or Cloudways server—not a locked host—and wp-content/advanced-cache.php is left behind by a previously installed cache plugin (such as WP Rocket, Breeze, Cache Enabler, or W3 Total Cache)?
- Active Competing Plugin Detected (
CompetingPageCache.php):AdminPage::competingCacheNotice()displays a clear banner offering a 1-click Switch Cache Owner button (kadicache_switch_cache_owner) or guiding you to deactivate the competing page-cache plugin cleanly. - Orphaned Foreign
advanced-cache.phpFile: OpenWP Admin -> KadiCache -> Cache, expand Drop-in Details & Recovery, and click Take Over Drop-In (DropinTakeover.php), or runwp kadicache repairvia WP-CLI. KadiCache backs up and replaces the orphaned drop-in atomically.
Recommended KadiCache Profile by Hosting Architecture#
Use this quick reference when onboarding a new client server to pick the optimal combination of KadiCache layers in under a minute:
- Unmanaged VPS / Dedicated (
NginxorApache+PHP-FPM+Redis): Enable Page Caching, Serve Before WordPress Loads (Early Delivery), PhpRedis / Relay Object Cache, and Cloudflare OAuth (Cloudflare & Varnish). - Cloudways (
Apache + Nginx + Varnish + Redis): Deactivate Breeze, keep Cloudways Varnish enabled in the Cloudways console, enable KadiCache Early Delivery + PhpRedis Object Cache—KadiCache purges Cloudways Varnish (x-varnish) automatically on every update. - Kinsta / WP Engine / Pantheon / Pressable / SpinupWP: Keep the host’s native edge/FastCGI page cache enabled (
Coexistence Modeengages automatically), enable all KadiCache front-end CSS/JS/Font/Lazyload/Cloud Pro optimizations, and use KadiCache’s unified Purge All toolbar button to flush both layers together.
Frequently Asked Operational Questions
Should I disable Kinsta Cache, WP Engine Cache, or SiteGround Dynamic Cache to use KadiCache?
How does KadiCache work with Breeze and Varnish on Cloudways?
Why are Static Browser Cache .htaccess settings hidden on Kinsta, Pantheon, or WP Engine?
Does KadiCache work on OpenLiteSpeed and LiteSpeed Enterprise servers?
What happens if I migrate a site from Cloudways (local drop-in) to Kinsta (host drop-in)?
Creator of KadiCache’s Early PHP Drop-In, 7-Driver Object Cache Engine, Cloud Remove Unused CSS, and Zero-CLS Lazy Render pipeline.