Installation Requirements
Before installing ZiziCache, ensure your server meets the following minimum requirements:
Server Requirements
- PHP Version: 8.1 or higher (PHP 8.3.16+ recommended for best performance)
- WordPress Version: 6.8 or higher (WordPress 6.8.3+ recommended for latest optimizations)
- Memory Limit: 512 MB minimum (2048 MB recommended for bulk operations)
- Disk Space: At least 500 MB free space for cache storage and image optimization
- File Permissions: Write permissions for wp-content directory and subdirectories
- MySQL: InnoDB engine support for database tables
Optional Enhancements
- Redis Object Cache: Version 7.x for 96%+ cache hit rate (7,000-8,000 hits/page)
- Memcached Object Cache: Alternative to Redis with bidirectional exclusion support
- OPcache: PHP bytecode caching with automatic management
- GD or Imagick: For WebP/AVIF image conversion (97% size reduction)
- WooCommerce Action Scheduler: Bundled for background tasks
- mod_rewrite (Apache) or OpenLiteSpeed: For advanced optimizations and parallel preload
Installation Methods
Method 1: Direct Upload via WordPress Admin
- Download the ZiziCache plugin zip file from LemonSqueezy
- In your WordPress admin, go to Plugins > Add New
- Click Upload Plugin button at the top
- Choose the downloaded zip file and click Install Now
- After installation completes, click Activate Plugin
- You’ll be redirected to the ZiziCache dashboard automatically
Method 2: FTP/SFTP Installation
- Download and extract the ZiziCache plugin files
- Upload the entire
zizi-cachefolder to/wp-content/plugins/directory - Ensure the folder structure is:
/wp-content/plugins/zizi-cache/ - In WordPress admin, go to Plugins → Installed Plugins
- Find ZiziCache and click Activate
- The plugin will run initial setup routines automatically
Method 3: WP-CLI Installation
For command-line enthusiasts:
wp plugin install zizi-cache.zip --activate
wp zizi-cache preload-cache
License Activation
To receive automatic plugin updates and access premium features, activate your license key:
- After plugin activation, go to ZiziCache > License tab
- Enter your license key from LemonSqueezy
- Click Activate License
- Available plans:
- Starter: 1 site activation
- Small Business: 25 site activations
- PRO Enterprise: 100 site activations
- Once activated, you’ll receive automatic updates via the WordPress updater
First-Time Setup
Automatic Security & Infrastructure Setup
Upon activation, ZiziCache automatically:
- Creates necessary cache directories:
wp-content/cache/zizi-cache/– Page cache storagewp-content/cache/critical-css/– Critical CSS fileswp-content/cache/used-css/– RUCSS optimized files
- Generates
.htaccessfiles for cache protection - Creates
wp-content/advanced-cache.phpdrop-in - Sets up secure file permissions (755 for directories, 644 for files)
- Initializes database tables:
wp_zizi_cache_license– License managementwp_zizi_cwv_metrics– Core Web Vitals raw datawp_zizi_cwv_summary– Aggregated performance metricswp_zizi_image_converter_stats– Image optimization trackingwp_zizi_cache_urls– LiteSpeed cache URL tracking
- Enables WordPress
WP_CACHEconstant inwp-config.php
Access the Dashboard
After activation, you can access ZiziCache dashboard via:
- Admin Sidebar: Look for the ZiziCache menu item (icon with plugin logo)
- Admin Bar: When logged in, ZiziCache appears in the top WordPress admin bar with quick actions
- Direct URL:
/wp-admin/admin.php?page=zizi-cache - The dashboard features a modern Vue.js SPA interface with 25 JavaScript modules
Dashboard Overview (15 Tabs)
The ZiziCache dashboard consists of 15 comprehensive tabs:
- Overview: Dashboard statistics, cache status, performance graphs, system health
- Page Cache: File-based cache configuration, lifespan, preload, mobile cache, bypass rules
- BFCache: Back/Forward Cache configuration for instant page navigation
- Optimization: Unified CSS/JS/HTML/Images/IFrame optimization settings
- Font Optimization: Font preloading, Google Fonts optimization, font-display control, language priority
- CDN: CDN configuration, Cloudflare integration, file type selection
- Object Cache (Redis): Redis configuration, connection testing, hit rate monitoring
- Memcached: Memcached configuration, server settings, bidirectional exclusion
- OPcache: PHP bytecode cache status, manual flush, statistics
- Image Optimizer: Lazy loading, WebP/AVIF bulk converter, auto-conversion, quality settings
- Database: Cleanup operations, table optimization, Action Scheduler management
- SLAPI / Quicklink: Configure Speculation Rules for intelligent prefetching and prerendering or Quicklink
- Metrics (CWV): Core Web Vitals monitoring (LCP, LoAF, TTFB), performance graphs
- License: License key management, activation status, auto-updater diagnostics
Cache Systems (4 Layers)
1. Page Cache (File-based)
- Format: HTML files with GZIP compression (aprox. 70% size reduction)
- Location:
wp-content/cache/zizi-cache/ - Modes: Auto / LiteSpeed / File (automatic detection)
- Features:
- Configurable cache lifespan (hours/days/unlimited)
- Separate mobile cache with automatic user-agent detection
- 404 page caching (bot protection)
- Cache for logged-in users
- 67 default query parameters to ignore (utm_*, fbclid, gclid, etc.)
- Automatic preload with parallel threads (LiteSpeed)
- Cookie-based bypass rules
- URL pattern exclusions
2. Redis Object Cache
- Features:
- Unix socket and TCP connection support
- Redis 6.0+ ACL authentication
- AES-256-CBC encrypted password storage
- Configurable database selection (default 1)
- Custom key prefix/salt
- Max TTL: 300 seconds
- Health monitoring and connection testing
- Automatic drop-in installation
3. Memcached Object Cache
- Support: Full integration with MemcachedHandler
- Features:
- Multiple server support:
['127.0.0.1:11211'] - Bidirectional exclusion (auto-disables Redis when activated)
- Fail-safe template with graceful fallback
- Automatic wp-config.php updates
- Extension detection (memcache/memcached)
- Custom key prefix (WP_CACHE_KEY_SALT)
- Multiple server support:
4. OPcache (PHP Bytecode)
- Features:
- Automatic flush after plugin upgrades
- Manual flush via dashboard or WP-CLI
- Real-time statistics (memory usage, hit rate)
- REST API integration
Initial Configuration
Essential First Steps
For immediate performance improvements, follow this recommended sequence:
1. Enable Page Cache (Highest Impact)
- Go to Page Cache tab
- Enable Page Cache toggle
- Configure cache lifespan (ex. 8 hours)
- Enable Separate Mobile Cache if you have responsive design
- Enable Cache Preload for automatic page generation
- Click Save Settings
2. Configure Object Cache (Redis or Memcached)
For Redis:
- Go to Object Cache tab
- Enter Redis connection details:
- Host: 127.0.0.1 or Unix socket path
- Port: 6379 (default)
- Database: 1 (separate from other caches)
- Password: If authentication is enabled
- Click Test Connection to verify
- Enable Redis Object Cache
- Monitor hit rate (should reach 96%+ after warm-up)
For Memcached:
- Go to Memcached tab
- Enter server details:
127.0.0.1:11211or Unix socket - Enable Memcached Object Cache (Redis will be auto-disabled)
3. Enable Image Optimization
- Go to Optimization tab
- Enable Lazy Loading with
loading="lazy"attribute - Enable LCP Detection for automatic Priority Hints
- Set above-fold exclusions (typically first 2-3 images)
- Go to Images tab
- Enable Auto-conversion on Upload
- Set format priority: AVIF first (97% reduction), WebP fallback (70% reduction)
- Quality: AVIF 75, WebP 80 (default optimal balance)
- Optionally run Bulk Conversion for existing images (50 per batch)
4. Optimize CSS & JavaScript
- Go to Optimization tab → CSS section
- Enable CSS Minification (matthiasmullie/minify engine)
- Enable Critical CSS extraction with viewport height (1200px default)
- Optionally enable RUCSS (Remove Unused CSS) – uses Sabberworm CSS Parser
- Loading method: Choose
interaction,onload, ormedia_print - Go to JavaScript section
- Enable JavaScript Minification
- Enable Defer JavaScript (130+ default exclusions)
- Configure Delay JavaScript with user interaction modes (smart/interaction/timeout)
- Enable Lazy Render for UI elements (hybrid/css/javascript methods)
5. Configure Font Optimization
- Go to Fonts tab
- Enable Master Switch
- Enable Google Fonts Optimization if using Google Fonts
- Enable Font Display Swap injection
- Configure Language Priority (auto, latin, cyrillic, arabic, etc.)
- Enable WOFF2 Fallback for better browser support
- Add manual preload URLs if needed
6. Enable Advanced Features (Optional)
- BFCache: Go to BFCache tab
- Enable Back/Forward Cache for instant page navigation
- Configure “Remember Me” requirement
- Set token lifetime (14 days default)
- Auto-exclude WooCommerce pages
- Early Hints: Enable HTTP 103 Early Hints for faster resource loading
- Preload images, fonts, CSS, scripts
- Configure crossorigin and fetchpriority attributes
- Speculative Loading: Configure prefetch/prerender
- Mode:
prefetch,prerender, orboth - Eagerness:
conservative,moderate, oreager - Quicklink fallback with 20+ configuration options
- Analytics guard (Google Analytics, Facebook Pixel, MS Clarity)
- Mode:
- Core Web Vitals Monitoring:
- Enable CWV monitoring with 5% sampling rate
- Track LCP, LoAF, TTFB metrics
- View performance graphs in CWV Metrics tab
- 7-day raw data retention, 30-day summary retention
- Redundancy Removal: Go to Advanced tab
- Disable WordPress bloat (emojis, jQuery Migrate, Dashicons, etc.)
- Remove WooCommerce cart fragments, password strength meter
- Disable Elementor Google Fonts
- Control post revisions and heartbeat frequency
- 30+ optimization options
LiteSpeed Integration
If using LiteSpeed server:
- Automatic Detection: Plugin auto-detects LiteSpeed and enables optimizations
- Parallel Preload: Configure parallel cache preload with curl_multi
- Threads: 1-10 parallel requests (default 3)
- Server load threshold: 0.5 max
- Delay between batches: 500ms
- Timeout per request: 20s
- Stale-while-revalidate: Enable stale content serving (24h TTL)
- Private Cache: Cache for logged-in users
- Mobile Vary: Separate mobile cache headers
CDN & Cloudflare
- Go to CDN tab
- Select CDN type: Pull CDN or Cloudflare
- Enter CDN URL
- Choose file types: all / images / css_js / fonts / videos / static
- Enable Force HTTPS
- For Cloudflare:
- Enter API Token (Zone.CachePurge, Zone.ZoneSettings, Zone.Zone)
- Enter Zone ID and Account ID
- Enable Edge Caching
Compatibility Settings
ZiziCache automatically detects and integrates with 19 plugins:
- WooCommerce: Excludes cart/checkout/account pages, product image cleanup
- Page Builders: Elementor, Gutenberg, Bricks, Divi, Beaver Builder
- Multilingual: WPML, WCML, TranslatePress, Weglot, Polylang
- Image Optimization: EWWW, ShortPixelAI integration
- Performance: Perfmatters, NginxHelper, SiteGround, Varnish, APO
- Other: ACF, BuddyBoss, PrettyLinks
Verification of Installation
Check Plugin Status
- Verify ZiziCache appears in Plugins > Installed Plugins
- Confirm the plugin status shows as “Active”
- Check version: 0.8.5-beta.rc (or newer if updated)
- Verify the ZiziCache menu is visible in admin sidebar and admin bar
- Check that
WP_CACHEconstant is set totrueinwp-config.php - Verify object cache drop-in:
wp-content/object-cache.php(if using Redis/Memcached)
Test Cache Functionality
- Visit your website homepage in an incognito window
- Open browser developer tools (F12)
- Go to Network tab
- Reload the page and check response headers:
X-Cache: HIT(after first visit)X-Cache-Status: HITContent-Encoding: gzip(if GZIP enabled)- Look for
103 Early Hintsrequests (if enabled) - LiteSpeed servers:
X-LiteSpeed-Cache: hit
- Check Elements tab for optimization indicators:
- Images with
loading="lazy"attribute - First image with
fetchpriority="high" - WebP/AVIF images being served
- Minified CSS and JS
- Critical CSS in
tag
- Deferred/delayed JavaScript
- Images with
Performance Verification
- PageSpeed Insights: Test your site at https://pagespeed.web.dev/
- Aim for 90+ score on desktop
- Aim for 70+ score on mobile
- WebPageTest: Detailed waterfall analysis
- GTmetrix: Performance grades and recommendations
- ZiziCache Dashboard: Check cache hit rates, statistics, and CWV metrics
WP-CLI Commands
ZiziCache provides WP-CLI commands for command-line management:
Cache Management
=== Cache Management ===
wp zizi-cache preload-cache Preload the page cache
wp zizi-cache purge-pages Purge specific pages from cache
wp zizi-cache purge-pages-and-preload Purge specific pages and preload them
wp zizi-cache purge-everything Purge all caches
wp zizi-cache purge-everything-and-preload Purge all caches and preload
=== Object Cache Management ===
wp zizi-cache redis-flush Flush Redis cache
wp zizi-cache object-cache-flush Flush object cache
=== OPcache Management ===
wp zizi-cache opcache-flush Flush OPcache
wp zizi-cache opcache/flush Alternative command for OPcache flush
=== Quicklink Management ===
wp zizi-cache quicklink-enable Enable Quicklink functionality
Options:
--mode= Set Quicklink mode
--conditional= Enable conditional execution
--page-types= Comma-separated page types
wp zizi-cache quicklink-disable Disable Quicklink functionality
wp zizi-cache quicklink-status Show Quicklink status and configuration
wp zizi-cache quicklink-configure Configure Quicklink settings
Options:
--mode= Set mode (prefetch, prerender, both)
--throttle= Set concurrent requests limit
--limit= Set total requests limit
--delay= Set delay before prefetch
--timeout= Set idle timeout
--threshold=<0-100> Set viewport threshold percentage
--priority= Enable/disable high priority
--respect-data-saver= Enable/disable data saver respect
--min-connection= Set minimum connection type
--block-ads= Enable/disable ad blocking
--conditional= Enable/disable conditional execution
--page-types= Set page types (comma-separated)
--origins= Set allowed origins (comma-separated)
License Management
wp zizi-cache activate-license # Activate license
REST API Integration
ZiziCache provides 50+ REST API endpoints for programmatic control:
Base URL
/wp-json/zizi-cache/v1/
Key Endpoints
- Config:
GET/POST /config,GET /config/defaults - Cache:
POST /purge-cache,GET /cache-status,POST /preload-cache - Redis:
GET /redis-status,POST /redis-flush - Memcached:
GET /memcached-status,POST /memcached-flush - OPcache:
GET /opcache-status,POST /opcache/flush - Images:
GET/POST /image-converter/*,POST /image-converter/bulk/* - CWV:
POST /lcp,POST /cwv/metrics,GET /cwv/summary - Database:
GET /database-stats,POST /database/cleanup - License:
POST /license/activate,GET /license/status - BFCache:
GET /bfcache/status,POST /bfcache/test - CDN:
GET/POST /cdn,GET/POST /cloudflare/*
Authentication: All endpoints require manage_options capability
Troubleshooting
Common Issues
- White Screen / 500 Error after activation:
- Check PHP error log for memory limit issues
- Increase memory limit to 512 MB in
wp-config.php:define('WP_MEMORY_LIMIT', '512M'); - Deactivate via FTP: rename
wp-content/plugins/zizi-cachefolder
- Cache not working:
- Check that
WP_CACHEis defined inwp-config.php - Verify write permissions on
wp-content/cache/directory (755) - Check for conflicting caching plugins
- Clear browser cache and test in incognito mode
- Check cache mode (auto/litespeed/file) in Page Cache tab
- Check that
- Redis connection failed:
- Verify Redis is running:
redis-cli ping(should return "PONG") - Check connection details (host, port, password)
- Test Unix socket path if using local socket
- Verify password encryption/decryption (AES-256-CBC)
- Verify Redis is running:
- Memcached not working:
- Check if PHP extension is installed:
php -m | grep memcache - Verify server configuration:
127.0.0.1:11211 - Check bidirectional exclusion (Redis should be auto-disabled)
- Check if PHP extension is installed:
- WebP/AVIF conversion not working:
- Check environment in Images > Environment tab
- Ensure GD or Imagick is installed with WebP/AVIF support
- Check write permissions on uploads directory (755)
- Verify quality settings (AVIF 75, WebP 80 default)
- LiteSpeed cache not detected:
- Verify LiteSpeed server: check
$_SERVER['SERVER_SOFTWARE'] - Enable LiteSpeed mode manually in Page Cache tab if auto-detection fails
- Check .htaccess rules for LiteSpeed cache headers
- Verify LiteSpeed server: check
Debug Mode
- Go to Advanced tab
- Enable Debug Mode (levels: off / basic / verbose)
- Check
wp-content/plugins/zizi-cache/zizi-log.logfor detailed logs - If Query Monitor plugin is installed, ZiziCache integrates with it automatically
- Enable Frontend Debug Logging for verbose client-side logs
- Use
GET /license/debugREST endpoint for license diagnostics
Performance Features Overview
850+ Configuration Options
ZiziCache provides enterprise-grade configurability with 850+ settings covering:
- 4-layer cache system (File, Redis, Memcached, OPcache)
- Image optimization (WebP/AVIF with 97% reduction)
- CSS optimization (Critical CSS, RUCSS, minification)
- JavaScript optimization (defer, delay, lazy render, 130+ exclusions)
- Font optimization (Google Fonts, preload, display swap, language priority)
- IFrame optimization (YouTube/Vimeo placeholders, lazy load)
- Core Web Vitals monitoring (LCP, LoAF, TTFB with MySQL storage)
- HTTP 103 Early Hints
- BFCache (Back/Forward Cache)
- Speculative Loading (Prefetch, Prerender, Quicklink)
- LiteSpeed integration (parallel preload with curl_multi)
- CDN & Cloudflare integration
- Database optimization (revisions, transients, Action Scheduler)
- Redundancy removal (30+ WordPress bloat features)
- 19 plugin integrations (WooCommerce, Elementor, WPML, etc.)
- Bulk optimization performance with adaptive tuning
Next Steps
After successful installation and initial configuration:
- Monitor Performance: Check the Overview tab regularly for cache statistics and performance trends
- Core Web Vitals: Monitor LCP, LoAF, and TTFB metrics in the CWV Metrics tab (7-day raw data, 30-day summaries)
- Image Optimization: Run bulk conversion on existing images for maximum savings (50 images per batch)
- Fine-tune Settings:
- Adjust cache lifespan based on content update frequency
- Configure exclusions for dynamic content
- Optimize CSS/JS loading methods
- Enable redundancy removal features in Advanced tab
- Database Cleanup: Schedule regular database cleanup for optimal performance (revisions, transients, Action Scheduler)
- LiteSpeed Users: Configure parallel preload and stale-while-revalidate
- Stay Updated: Keep your license active to receive automatic updates with new features and bug fixes