Skip to main content
KadiCache
Browse 37 Docs Guides & Search

Installation, Requirements & 4-Step Setup Wizard

Install KadiCache Free Core, run the non-intrusive 4-step Setup Wizard, verify advanced-cache.php readiness, and launch background warmup in under two minutes.

Admin/SetupWizard.phpBootstrap/Lifecycle.phpCache/Delivery/EarlyCacheSetup.phpConfiguration/WpCacheConfig.php
WP Admin -> KadiCache -> Dashboard (Light)
MODULE 01 · 2X RETINA
Performance Command Overview organized into 6 clean workflow groups with live cache hit rate, Preload, and Cloud telemetry.2880×1840 WebP
Quick Summary · 30-Second Operational SpecSource-Verified Guide
WP Admin Path
WP Admin -> Plugins -> Add New -> KadiCache
Expected Outcome
Under 2 Minutes Setup · ~14 ms Early HIT Ready
Key Marker / Engine
X-KadiCache: HIT | Server-Timing: kc;desc="early_hit"
  • Requires WordPress 6.0+ and PHP 7.4+ (PHP 8.1 – 8.3 recommended for OPcache JIT and Libsodium API key encryption).
  • Launches a non-intrusive 4-step Setup Wizard (SetupWizard.php) once upon manual single-site activation—never hijacking WP-CLI, Multisite Network Admin, or bulk plugin activations.
  • Installs wp-content/advanced-cache.php and WP_CACHE (WpCacheConfig.php) automatically unless a managed host drop-in triggers Coexistence Mode.
  • Protects WooCommerce /cart/, /checkout/, /my-account/, logged-in sessions, and guest WordPress nonces from minute zero without manual exclusions.
Early advanced-cache.php request lifecycle: verified HIT responses return in ~14 ms before WordPress core or MySQL initialize.Click to zoom

System Requirements & Pre-Install Checklist#

Before activating KadiCache on a staging or production WordPress installation, verify four baseline environment details so Early Delivery, background sitemap warmup, and optional persistent object caching initialize cleanly on the first pass:

RequirementMinimum SupportedRecommended Production TargetWhy It Matters
PHP RuntimePHP 7.4PHP 8.2 or 8.3 + OPcacheSub-15 ms EarlyRequestServer.php execution & native sodium encryption
WordPress CoreWordPress 6.0WordPress 6.6+WP_HTML_Tag_Processor, Block Theme compatibility, and REST schema support
Permalink StructureAny (?p=123 falls back cleanly)Pretty Permalinks (/%postname%/)Required for clean URL path normalization and Instant Links
Filesystem PermissionsRead-only fallback supportedWritable wp-content/ & wp-config.phpAllows automatic advanced-cache.php drop-in & WP_CACHE setup

If your site currently runs another full-page HTML caching plugin (such as WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Fastest Cache, WP Super Cache, Autoptimize CSS/JS minifiers, or FlyingPress), deactivate the old page-cache plugin before or right after activating KadiCache so two plugins do not compete over wp-content/advanced-cache.php or minify stylesheets twice. Note that server-level host caches on Kinsta, WP Engine, Cloudways, SiteGround, Pantheon, and Pressable do not need to be disabled—KadiCache detects them automatically via Coexistence Mode.

Step-by-Step Installation (WP Admin & WP-CLI)#

You can install and activate KadiCache Free Core through standard WordPress Admin upload or headless SSH / CI pipelines via WP-CLI:

BASHInstall, Activate & Verify KadiCache Free Core via WP-CLI
# 1. Activate KadiCache Free Core (SetupWizard never redirects CLI sessions)
wp plugin activate kadicache

# 2. Inspect Early Drop-In ownership, WP_CACHE constant, and cache root readiness
wp kadicache status --format=json

# 3. Optional: Start bounded background sitemap warmup immediately
wp kadicache preload start

When you activate KadiCache manually inside WP Admin -> Plugins on a fresh single-site installation, SetupWizard::pending() schedules a one-time redirect to admin.php?page=kadicache&setup=1. By design in SetupWizard.php:

  • Bulk plugin activations (activate-multi / checked), AJAX calls, WP-CLI commands, and Multisite Network Admin activations never trigger forced browser redirects.
  • Opening the Setup Wizard immediately sets kadicache_setup_done = true and deletes kadicache_setup_pending—so if you close the browser tab or click Skip wizard, KadiCache never traps you in a nagging redirect loop on subsequent logins.
FIG 01Unified KPI status strip, Early Engine readiness indicator, 1-click Inspect URL trigger, and Purge & Preload actions inside WP Admin -> KadiCacheZoom 2x

Walking Through the 4-Step Setup Wizard#

The guided Setup Wizard configures safe, high-impact defaults in under 60 seconds across four focused screens:

  1. Step 1 of 4 — Cache Engine & Early Drop-In: Verifies three core pillars immediately: Page Cache: Active, Early Drop-In: Ready (wp-content/advanced-cache.php owned by KadiCache + define('WP_CACHE', true) written cleanly by WpCacheConfig.php), and Private Routes: Protected (confirming /wp-admin/, wp-login.php, REST/AJAX mutations, and detected WooCommerce /cart/, /checkout/, and /my-account/ paths are isolated). If a managed host owns advanced-cache.php, Step 1 clearly displays Coexistence Mode instead of forcing an unsafe overwrite.
  2. Step 2 of 4 — JavaScript Execution Strategy (js_loading): Lets you pick between Defer Non-Critical JS (recommended conservative starting point for complex custom themes), Delay Until Interaction (maximum mobile PageSpeed relief for marketing sites and WooCommerce stores—see Defer & Safe Delay JavaScript), or Off (leaves script execution unchanged while you test page caching first).
  3. Step 3 of 4 — Edge & CDN Readiness: Reviews whether your domain routes through Cloudflare or a reverse proxy so you can connect Cloudflare OAuth, CDN & Varnish right after finishing setup.
  4. Step 4 of 4 — Launch & Sitemap Warmup (SetupWizard::finish()): Displays your configuration summary with an enabled-by-default checkbox to Start background sitemap preload now. Clicking Finish Setup saves your choices atomically via SettingsWorkspace::save() and launches Plugin::preloader()->start() so your homepage, top categories, products, and posts warm into .html.gz snapshots automatically.

Staging, Cloning & JSON Settings Transfer (SettingsTransfer.php)#

Agencies deploying KadiCache across dozens of client builds rarely want to click through settings tabs manually on every new install:

  • Clean Portable JSON Export: Open WP Admin -> KadiCache -> Tools -> Transfer & Staging and click Export Settings JSON. Sensitive environment-specific credentials (such as encrypted Cloudflare tokens or Google PageSpeed API keys) are automatically omitted so configuration files can be committed safely to Git repositories.
  • Side-by-Side Import Diff Preview: Before applying an imported JSON profile onto production, KadiCache renders an itemized diff comparing your current settings against the incoming file so no exclusion rule is overwritten by surprise.
  • Staging Basic-Auth Readiness: Password-protected staging subdomains (staging.example.com) work smoothly without public indexing leaks, and migrating from staging to your live domain automatically refreshes early-config.php origin paths on first visit.

Frequently Asked Operational Questions

Why do I see X-KadiCache: BYPASS when viewing my site in the same browser where I am logged into WP Admin?
WordPress sets a wordpress_logged_in_* cookie in your browser session. KadiCache intentionally bypasses public page caching for logged-in users so personalized admin toolbars, draft previews, and account details can never be cached or shown to guests. Use the Inspect URL button inside KadiCache or a fresh Incognito window to test guest caching.
Can I re-run or change choices made in the 4-Step Setup Wizard later?
Yes. Every setting chosen inside the Setup Wizard maps directly to standard toggles in WP Admin -> KadiCache -> Cache, CSS & JavaScript, Cloudflare, and Preload, so you can adjust any option at any time.
Does activating KadiCache via WP-CLI or Composer break automated deployment scripts?
Never. SetupWizard.php explicitly checks defined("WP_CLI"), bulk activation flags, AJAX requests, and Network Admin contexts so headless deployments never encounter unexpected HTTP redirects.
What happens if I uninstall or deactivate KadiCache?
Lifecycle.php and Uninstall.php cleanly remove only KadiCache-owned drop-ins, scheduled Action Scheduler jobs, and cache directories—never deleting foreign host drop-ins or modifying your original theme and media files.
Do I need to manually exclude /cart/, /checkout/, or /my-account/ on WooCommerce stores?
No. KadiCache detects WooCommerce, Easy Digital Downloads, and private member routes automatically during Step 1 and protects cart, checkout, customer account, and active session workflows out of the box.
Gergis — Lead Systems & Cache Architect
Principal WordPress & Cloud Edge Architect
E-E-A-T Source Verified

Creator of KadiCache’s Early PHP Drop-In, 7-Driver Object Cache Engine, Cloud Remove Unused CSS, and Zero-CLS Lazy Render pipeline.

apps/wordpress-plugin/src/Admin/SetupWizard.phpapps/wordpress-plugin/src/Bootstrap/Lifecycle.phpapps/wordpress-plugin/src/Cache/Delivery/EarlyCacheSetup.phpapps/wordpress-plugin/src/Configuration/WpCacheConfig.php
Was this engineering guide helpful?