Track memory usage, scheduled tasks, caching efficiency, and database health to keep your store running at peak performance
A well-optimized plugin should never slow down your store. WhoKnew Views™ Pro includes comprehensive performance monitoring that tracks memory usage, scheduled tasks, caching efficiency, and database health—all visible in the System Info report.
🔒 PRO FEATURE — Requires WhoKnew Views™ Pro
💾 Memory Usage Tracking
The System Info report captures real-time memory consumption to help identify resource issues:
Current Memory
48.2 MB
Active usage right now
Peak Memory
67.8 MB
Highest during request
PHP Limit
256 MB
Maximum available
Memory Utilization
26% of limit used — Healthy ✓
💡 What’s Healthy? Peak memory under 50% of your PHP limit is excellent. If you’re consistently above 75%, consider increasing your PHP memory limit or optimizing other plugins.
⏰ Scheduled Tasks (or Cron Jobs)
WhoKnew Views™ Pro uses WordPress cron for background maintenance. The System Info shows the status of each scheduled task:
| Task | Frequency | Purpose | Status |
|---|---|---|---|
| 🔧 Scheduled Maintenance | Twice Daily | License validation, cache cleanup | ✓ ACTIVE |
| 📊 Daily Aggregation | Daily | Compress 90+ day data to summaries | ✓ ACTIVE |
| 📧 Weekly Summary | Every Monday 9 AM | Send weekly email reports | ✓ ACTIVE |
| 💓 Health Check | Every 24 hours | Plugin Health Check | ✓ ACTIVE |
⚠️ WP_CRON Disabled? Some hosts disable WordPress cron for performance. If you see this in System Info, ask your host to set up a server cron job. The System Info even provides the exact command to use!
⚡ Transient Caching System
WhoKnew Views™ Pro uses WordPress transients to cache frequently-accessed data, reducing database queries:
📦 View Count Cache
wkv_view_counts_{product_id}
Stores calculated real/padded/total counts per product
⚙️ Settings Cache
wkv_settings_{product_id}
Stores merged global + custom settings per product
🔮 Forecast Cache
wkv_forecast_{hash}
24-hour cache of Prophet API responses
👁️ Preview Cache
wkv_preview_settings
Temporary settings for Live Preview mode
🔄 Automatic Cache Invalidation
Caches are automatically cleared when:
- ✅ Global settings are saved (clears all product caches)
- ✅ Per-product custom settings are modified
- ✅ Presets are applied to products
- ✅ View window hours change (requires count recalculation)
- ✅ Products tab “Refresh All Values” button is clicked
📊 Database Optimization: View Aggregation
Over time, detailed view timestamps can bloat your database. The Daily Aggregation System automatically compresses old data:
Days 0-90
📋
Full Timestamps
Detailed data in product_views
→
Days 91-1825
📦
Daily Summaries
Compressed in _wkv_daily_view_aggregates
→
After 5 Years
🗑️
Rolling Window
Oldest data automatically purged
ℹ️ Free Users Benefit Too: The aggregation system runs for ALL users—not just Pro. This keeps your database lean regardless of license status. If you upgrade to Pro later, your historical data is already optimized and ready for Prophet AI forecasting.
🖥️ Server Environment Checks
The System Info captures key server metrics that affect plugin performance:
## SERVER ENVIRONMENT ##
PHP Version: 8.2.14
PHP Post Max Size: 128M
PHP Max Execution Time: 300 seconds
PHP Max Input Vars: 5000
PHP Memory Limit: 256M
MySQL Version: 8.0.35
cURL Version: 8.4.0(for Prophet API)
OpenSSL Version: OpenSSL 3.1.4(for JWT auth)
🚨 Minimum Requirements
| Setting | Minimum | Recommended |
|---|---|---|
| PHP Version | 7.4+ | 8.1+ |
| PHP Memory Limit | 128M | 256M+ |
| Max Execution Time | 60s | 300s |
| Max Input Vars | 1000 | 3000+ |
🔍 Automatic Issue Detection
The System Info includes an “ISSUES DETECTED” section that automatically flags potential problems:
✖
Scheduled maintenance not active
May need plugin reactivation
⚠️
WP_CRON is disabled
Scheduled forecasts may require server cron
ℹ️
License expires in 15 days
Renew to maintain Pro features
💡 Performance Best Practices
✅
Use Object Caching
Redis or Memcached dramatically speeds up transient operations
✅
Keep PHP Updated
PHP 8.x is 2-3x faster than PHP 7.x for many operations
✅
Don’t Disable Aggregation
Let the daily job run to prevent database bloat over years
✅
Monitor Peak Memory
If consistently high, check for plugin conflicts or increase limits