WPCalibrate Store Performance
Safe, conservative WooCommerce performance optimization, database diagnostics, and maintenance plugin.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/zeeshanraza-official/wpcalibrate-store-performance/releases/download/v1.0.0/wpcalibrate-store-performance.zipConservative, reliable WooCommerce performance optimization, database maintenance, and operational diagnostics engineered specifically for high-volume stores where cart reliability, checkout flow, payment gateways, and data integrity must never be compromised.
Table of Contents
- About
- Why WPCalibrate?
- Features
- Documentation & User Guide
- Architecture & File Structure
- Developer & Testing Guide
- Changelog
- License & Support
About
Most WordPress optimization plugins treat dynamic e-commerce stores like static blogs. They apply blanket caching and asset-blocking rules that inadvertently break active carts, cause checkout validation failures, drop payment gateway webhooks, or corrupt customer sessions.
WPCalibrate Store Performance is purpose-built to accelerate WooCommerce through application-level hygiene and safe database maintenance while prioritizing transaction reliability and data integrity.
Why WPCalibrate?
| Traditional Optimization Plugins | WPCalibrate Store Performance |
|---|---|
| Dequeues scripts blindly across the site | Strictly protects Cart, Checkout, My Account, and Store API |
| Deletes database records without concurrency locks | Employs atomic concurrency locks (Lock.php) and safe batching |
| No safety net if a setting breaks your store | Automatic 5-slot rollback snapshot history (Snapshots.php) |
| Uncontrolled cron tasks causing timeouts | Leverages WooCommerce Action Scheduler for background processing |
| Silent conflicts with Redis/Memcached | Comprehensive ecosystem detector for object caches and CDN layers |
| Sends store telemetry to third parties | 100% Local-First — zero remote telemetry or external API calls |
Features
1. Central Request Safety Layer
At the heart of the plugin is RequestSafety.php. Every frontend optimization module checks the current request context before taking action. Optimizations unconditionally yield on:
- Cart & Checkout pages (classic shortcodes and modern Cart/Checkout Blocks)
- Order Received / Order Pay endpoints
- Customer Account (
my-account) pages - Store API (
/wp-json/wc/store/v1/) routes - REST API requests and custom webhook endpoints
- Payment gateway IPN and asynchronous status callbacks
- WooCommerce Action Scheduler background queue execution
2. Interactive Overview & Setup Guide
The premier landing tab introduces store owners to:
- The Three Pillars: The Purpose, The Method, and The Safety Net
- A 5-step quick onboarding checklist with direct navigation actions
- Store performance best practices alongside explicit guarantees of What WPCalibrate Never Does
3. Real-Time Performance Dashboard
Monitor store vitals at a glance:
- Total database size and table engine distribution (InnoDB vs. MyISAM)
- Autoloaded options footprint with flags for values exceeding 50 KB
- Active WooCommerce customer session counts
- Action Scheduler health (pending, complete, failed, and canceled actions)
- Environment audit: PHP, WordPress, WooCommerce, MySQL, Object Cache, Memory Limits
4. Safe Database Cleanups & Concurrency Locks
Perform controlled, batch-driven maintenance:
- Expired Transients: Purges expired site and timeout transients safely.
- Abandoned WooCommerce Sessions: Cleans expired guest sessions while preserving active carts.
- Post Revisions & Auto-Drafts: Configurable retention window (default: 30 days).
- Spam / Trashed Comments: Batch cleanup with pre-scan record counts.
- Action Scheduler Logs: Cleans historical completed actions to prevent database bloat.
- Strict Protection: Orders, customers, products, and payment logs are hard-coded as non-destructive and cannot be purged by cleanups.
5. Automated Action Scheduler Maintenance
Schedule recurring daily, weekly, or monthly maintenance tasks powered by WooCommerce Action Scheduler with automatic WP-Cron fallback. Atomic concurrency locks ensure multiple concurrent cron runners never collide.
6. Rollback Snapshot System
Every profile change or setting modification automatically creates a rollback point in Snapshots.php. Up to 5 historical snapshots are retained, allowing single-click reversion if needed.
7. Ecosystem & Cache Conflict Audit
Inspect active caching layers and avoid redundant processing:
- Detects Redis, Memcached, APCu, and custom object-cache drop-ins.
- Detects WP Rocket, LiteSpeed Cache, Cloudflare, W3 Total Cache, and hosting caching environments (Kinsta, WP Engine, SiteGround).
8. Scoped Logging & Credential Redaction
All debug logs are scoped to wpcalibrate-store-performance via the WooCommerce logging system. Redactor.php automatically scrubs passwords, API keys, database salts, and customer PII before writing to disk.
Documentation & User Guide
System Requirements
- PHP: 8.2 or 8.3
- WordPress: 6.8 or higher
- WooCommerce: 10.0 or higher (supports up to 11.2+)
- MySQL: 5.7+ or MariaDB: 10.4+
- HPOS Compatible: 100% High-Performance Order Storage certified
Installation
Method A: Direct Dashboard Upload (ZIP)
- Download the latest
wpcalibrate-store-performance-1.0.0.zipfrom the Releases page. - In your WordPress admin, navigate to Plugins > Add New > Upload Plugin.
- Choose the ZIP file and click Install Now.
- Click Activate Plugin.
Method B: FTP / Manual Upload
- Unpack
wpcalibrate-store-performance-1.0.0.zip. - Upload the
wpcalibrate-store-performancedirectory to/wp-content/plugins/. - Activate the plugin via Plugins in WordPress.
How to Update from WordPress Dashboard
To receive seamless one-click updates directly inside your WordPress Dashboard:
Option 1: Using GitHub Updater / Git Updater
- Install the free Git Updater plugin in your WordPress installation.
- Under Settings > Git Updater > Install Plugin, enter:
- Plugin URI:
zeeshanraza-official/wpcalibrate-store-performance
- Plugin URI:
- Git Updater will monitor GitHub releases and notify you in Dashboard > Updates whenever a new release is published.
Option 2: Dashboard ZIP Update (WordPress 5.5+)
- Download the new release ZIP from GitHub.
- Navigate to Plugins > Add New > Upload Plugin.
- Upload the new ZIP. WordPress will prompt: "This plugin is already installed. Replace current with uploaded?"
- Click Replace current with uploaded. All settings and snapshots are safely preserved.
Recommended 5-Step Workflow
- Step 1: Check Store Health Navigate to WPCalibrate > Store Performance > Overview or Dashboard to review your autoload size, database footprint, and object cache status.
- Step 2: Apply Recommended Optimizations On the Optimizations tab, click Apply Recommended Optimizations. This creates a rollback snapshot and safely dequeues store assets on non-store pages.
- Step 3: Run Database Cleanup Visit the Database tab. Click Scan Database to preview stale transients and guest sessions, then run batch cleanup.
- Step 4: Enable Automated Maintenance On the Maintenance tab, select Weekly or Monthly automated cleanups powered by Action Scheduler.
- Step 5: Verify Compatibility Check the Compatibility tab to ensure your server caching layers and third-party plugins operate in harmony.
Architecture & File Structure
wpcalibrate-store-performance/
├── wpcalibrate-store-performance.php # Main bootstrap and HPOS declarations
├── uninstall.php # Safe uninstall handler
├── readme.txt # WordPress.org plugin directory metadata
├── README.md # GitHub documentation and user guide
├── LICENSE.txt # GNU General Public License v2
├── assets/
│ ├── branding/ # Official WPCalibrate icons (dark/white)
│ ├── css/admin.css # Scoped admin stylesheet (.wpcsperf-wrap)
│ └── js/admin.js # Batch cleaner & snapshot AJAX handling
├── languages/
│ └── wpcalibrate-store-performance.pot # Localization catalog template
└── src/
├── Plugin.php # Core service coordinator
├── Activator.php # Activation hook handler
├── Deactivator.php # Deactivation hook handler
├── Uninstaller.php # Safe uninstall routine
├── Admin/
│ ├── Assets.php # Script/style registration & admin_head icon CSS
│ ├── Menu.php # Shared WPCalibrate parent menu & tab router
│ ├── AjaxHandler.php # Nonce-verified admin AJAX endpoints
│ └── Pages/ # Tab view renderers (Overview, Dashboard, etc.)
├── Performance/
│ ├── RequestSafety.php # Central gatekeeper protecting checkout/cart
│ ├── OptimizationManager.php # Module coordinator
│ └── Modules/ # Asset dequeuing, Heartbeat, Cart Fragments
├── Database/
│ ├── Scanner.php # Database bloat scanner
│ ├── BatchProcessor.php # Safe chunked batch processor
│ ├── Migrator.php # Schema version migrations
│ └── Cleaners/ # Individual table cleaner handlers
├── Scheduler/
│ ├── Scheduler.php # Action Scheduler & WP-Cron orchestrator
│ ├── MaintenanceJob.php # Routine task executor
│ └── Lock.php # Atomic concurrency lock manager
├── Compatibility/
│ ├── Detector.php # Cache & conflict detection
│ ├── ConflictRegistry.php # Audit rule catalog
│ └── ObjectCacheDetector.php # Redis/Memcached detection
├── Diagnostics/
│ ├── Environment.php # Server, WP, WC, and PHP metrics
│ ├── DatabaseMetrics.php # Table size and engine analysis
│ └── AutoloadMetrics.php # Autoload options analysis
├── Settings/
│ ├── Settings.php # Option persistence
│ ├── Defaults.php # Conservative default configuration
│ ├── Sanitizer.php # Input validation & bounds clamping
│ └── Snapshots.php # 5-slot rollback snapshot engine
└── Support/
├── Capabilities.php # Security capability checks
└── Redactor.php # PII and credential masker
Developer & Testing Guide
Automated Test Suite
The plugin includes a dedicated unit and integration testing harness covering safety layers, snapshot rollbacks, locks, redactors, and HPOS declarations.
# Run all automated unit and integration tests:
php tests/run_tests.php
Full Syntax Linting
# Lint every PHP file in the codebase:
powershell -NoProfile -Command "Get-ChildItem -Path 'src' -Recurse -Filter '*.php' | ForEach-Object { & php -l $_.FullName }"
Changelog
[1.0.1] - 2026-10-17
- Overview Tab: Added dedicated Overview tab with Three Pillars (Purpose, Method, Safety Net), interactive 5-step setup workflow, and WooCommerce best practices checklist.
- Menu Icon Fix: Injected global
admin_headCSS constraining the 400x400 brand icon to a crisp 20x20 contain box across all WordPress admin screens. - Layout Modernization: Polished admin header branding container, elevated cards, responsive grid systems, and badges with complete RTL and mobile support.
- Unit Tests: Added
OverviewPageTest.phpto the automated test suite.
[1.0.0] - 2026-10-17
- Initial Production Release.
- Central Request Safety Layer protecting Cart, Checkout, Store API, and payment callbacks.
- Real-time Performance Dashboard with database and autoload options diagnostics.
- Safe batch cleanup handlers with atomic concurrency locks.
- Action Scheduler and WP-Cron recurring maintenance automation.
- 5-slot rollback snapshot system.
- Full WooCommerce HPOS (High-Performance Order Storage) certification.
License & Support
- License: Distributed under the terms of the GNU General Public License v2.0 or later.
- Author: WPCalibrate
- Support: support@wpcalibrate.com
- Documentation: https://wpcalibrate.com/plugins/store-performance/
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.