- Cookieless First-Party RUM (
RumStore.php+RumIngestor.php): Measures real-visitor 75th-percentile (p75)LCP,INP,CLS,FCP, andTTFBacross1h,24h,7d, and30dwindows with zero cookies and zero SQL queries during beacon ingestion insideadvanced-cache.php. - Cache HIT vs Uncached Segmentation: Splits real visitor telemetry by
MobilevsDesktop,Cache HITvsUncached, visitor country, and slowest URLs. - Integrated Google PageSpeed Insights v5 & 28-Day CrUX Lab (
PageSpeedController.php): Runs live Mobile & Desktop audits and side-by-side Compare Cached vs Uncached benchmarks using your own Libsodium-encrypted Google API key. - Zero-DB-Query Admin Speed Badges (
PostListSpeed.php): Displays Mobile & Desktop PageSpeed scores right insideWP Admin -> Posts,Pages, andWooCommerce Productslist tables.
Table of Contents (6 sections)
- Lab Data vs Field Data: Why Synthetic Speed Tests Only Tell Half the Story
- Inside RumIngestor.php & RumStore.php: Zero Cookies, Zero SQL Bloat
- Integrated PageSpeed Insights v5 & Compare Cached vs Uncached Lab
- Zero-SQL Speed Column in Posts, Pages & WooCommerce Products (PostListSpeed.php)
- Understanding Core Web Vitals Histograms & Threshold Boundaries
- Turning RUM & PageSpeed Telemetry Into a Repeatable Optimization Workflow
Lab Data vs Field Data: Why Synthetic Speed Tests Only Tell Half the Story#
Every WordPress site owner has experienced this frustrating disconnect: you run a single synthetic speed test from a desktop data center and see a 98 score, yet Google Search Console’s Core Web Vitals report still flags 42 product URLs as Needs Improvement on Mobile! That gap happens because synthetic Lab tests (Lighthouse) and real-visitor Field data (CrUX / RUM) measure fundamentally different realities:
| Measurement Dimension | Synthetic Lab Test (Lighthouse) | Google CrUX 28-Day Field Data | KadiCache Built-In First-Party RUM |
|---|---|---|---|
| Who Is Measured | Simulated single throttled Moto G Power visit | Aggregated Chrome users over trailing 28 days | Your live real visitors immediately (1h / 24h / 7d / 30d) |
| Feedback Delay After Fixes | Immediate (~15 seconds) | 28-day rolling lag before Search Console updates | Real-time (1-hour & 24-hour histograms) |
Post-Load INP Visibility | Cannot tap real menus, filters, or swatches (TBT proxy only) | Captures real taps & keyboard interactions (p75 INP) | Captures real visitor p75 INP across every URL |
| Cache HIT vs MISS Split | Tests single state unless manually bypassed | Blends cached, uncached & logged-in sessions together | Separates Cache HIT vs Uncached speed directly |
| Low-Traffic Page Coverage | Any single URL you type manually | Often returns No Data on smaller sites or new posts | Works on sites of any traffic volume from day one |
Waiting 28 days for Google Search Console to confirm whether enabling Defer & Safe Delay JavaScript or Pro Local Improve LCP fixed a mobile bottleneck leaves agencies flying blind. At the same time, external SaaS Real-User Monitoring tools charge $29–$99/month, drop tracking cookies requiring GDPR banners, or bloat wp_postmeta with millions of raw database rows.
KadiCache solves both problems 100% free in Core inside WP Admin -> KadiCache -> Core Web Vitals—combining Cookieless First-Party RUM (RumStore.php + RumIngestor.php) with an integrated Google PageSpeed Insights v5 & 28-Day CrUX Lab (PageSpeedController.php).
Inside RumIngestor.php & RumStore.php: Zero Cookies, Zero SQL Bloat#
KadiCache’s Real-User Monitoring engine was architected specifically so collecting field telemetry never slows down your WordPress origin or bloats MySQL:
- Pre-WordPress Early Beacon Ingestion (
0 SQL Queries): When a visitor finishes interacting with a page, a tiny first-party beacon posts quantized Core Web Vitals metrics signed with a rotating HMACbeaconToken.RumIngestor::handleEarly()intercepts that request directly insideadvanced-cache.phpbefore WordPress, plugins, or MySQL even load—validating origin headers, token signatures, rate limits, and bot User-Agents in ~1 millisecond! - Quantized Histogram Buckets (
RumStore::BINS): Instead of inserting millions of raw session rows into MySQL tables that crash shared hosting disks,RumStore.phpaggregates samples into compact, quantized time-slice histograms (< 2 msrollup reads) computing accurate 75th-percentile (p75) values aligned 1:1 with Google’s official thresholds (LCP <= 2500ms,INP <= 200ms,CLS <= 0.10,FCP <= 1800ms,TTFB <= 800ms). - 100% Cookieless & Privacy-First by Design: KadiCache RUM sets zero cookies, uses zero
localStorageidentifiers, stores zero IP addresses or personal data, and sends zero bytes to external analytics servers. All aggregated histograms stay locally on your own WordPress site. - Actionable Multi-Dimensional Slices: Filter your live
p75vitals across1h,24h,7d, or30dwindows, compareMobilevsDesktop, inspect the exact millisecond gap betweenCache HITandUncachedvisits, review country latency breakdowns, and spot your slowest individual URLs immediately.
Integrated PageSpeed Insights v5 & Compare Cached vs Uncached Lab#
Switch to the PageSpeed & CrUX Lab sub-tab inside WP Admin -> KadiCache -> Core Web Vitals to run authentic Google Lighthouse v5 + 28-day Chrome UX Report (CrUX) diagnostics without leaving WordPress:
- Bring Your Own Free Google Cloud API Key (Encrypted With Libsodium): Connect your own free Google PageSpeed API key (supporting up to 25,000 free audits/day directly with Google). KadiCache encrypts the key at rest using PHP
Libsodium(sodium_crypto_secretbox), never autoloads it into unrelated front-end requests, and also supports definingKADICACHE_PAGESPEED_API_KEYinwp-config.phpfor agency deployments. - 1-Click Template Presets: Audit your
Homepage,Latest Post,Sample Page,Shop Catalog, orSample Productacross Mobile and Desktop in one click. - Verified
Compare Cached vs UncachedBenchmark: Clicking Compare Cached vs Uncached warms KadiCache on the target URL first, runs an authentic Google PageSpeed scan on the cached page, runs a paired uncached baseline scan, and computes your exact Performance Score Delta (+pts),TTFBspeedup,LCPreduction, andTBTsavings—ideal for proving ROI to clients! - Actionable Opportunity Mapping: Instead of dumping raw Lighthouse JSON, KadiCache maps failing PageSpeed opportunities directly to the matching KadiCache control (such as Cloud Remove Unused CSS, Defer & Safe Delay JS, or Cloud WebP Images).
Zero-SQL Speed Column in Posts, Pages & WooCommerce Products (PostListSpeed.php)#
Optimization should be visible where editors and store managers actually publish content. PostListSpeed.php adds a lightweight Speed column directly inside WP Admin -> Posts, Pages, and WooCommerce -> Products displaying color-coded Mobile & Desktop PageSpeed badges plus a 1-click re-audit trigger—reading from a single compact index file with zero extra database queries per row!
Understanding Core Web Vitals Histograms & Threshold Boundaries#
When reviewing WP Admin -> KadiCache -> Core Web Vitals -> Real-User Vitals (RUM) with clients or stakeholders, keep three key telemetry nuances in mind:
- Why Mobile Networks Diverge From Fiber Wi-Fi: Real shoppers browse inside elevators, subways, and congested 4G towers on budget Android devices with thermal CPU throttling. Even a
200 KBunoptimized script that runs in18 mson a MacBook Pro M3 can block an entry-level mobile CPU for240 ms—which is why KadiCache segments Mobile and Desktopp75distributions side-by-side. - Tracking
INPAcross the Entire Page Lifecycle: Unlike legacy First Input Delay (FID), which only measured the very first tap, Interaction to Next Paint (INP) observes all clicks, taps, and key presses throughout a visitor’s entire time on the page and reports the worst latency (p75). Keeping third-party scripts controlled via Defer & Safe Delay JavaScript and off-screen DOM light via Zero-CLS Lazy Render directly protectsp75 INP. - Clean 1-Click Telemetry Reset After Major Redesigns: Launching a brand-new WordPress theme? Clear historical pre-redesign RUM buckets anytime so your
1hand24hcharts reflect only the new storefront layout.
Turning RUM & PageSpeed Telemetry Into a Repeatable Optimization Workflow#
Having both synthetic Lab diagnostics and cookieless real-visitor Field histograms inside the same WP Admin -> KadiCache -> Core Web Vitals workspace lets you diagnose and fix regressions systematically:
- Check the
Cache HITvsUncachedSplit First: Open Real-User Vitals (RUM) and comparep75 TTFBandp75 LCPbetween cached and uncached visits. IfCache HITvisits average18 ms TTFBwhileUncachedvisits average740 ms—and a meaningful share of traffic hits uncached URLs—enable Smart Sitemap Preload & Instant Links and 7-Driver Persistent Object Cache so cache misses stay rare and fast. - Isolate Mobile vs Desktop Discrepancies: If Desktop
p75 LCPis0.7s(green) while Mobilep75 LCPis3.1s(amber), your server is already fast—the bottleneck is mobile viewport asset weight or render-blocking CSS/JS. Enable Cloud Remove Unused CSS, Pro Local Improve LCP, and Defer & Safe Delay JS. - Spot High-Traffic Slow Outliers in the Slowest URLs Table: Sort by slowest
p75 INPorp75 CLSURLs to find the exact seasonal campaign page or third-party calculator dragging down your sitewide 28-day CrUX average. - Audit New Posts & Products Right From the Admin List Table: Before launching paid ad traffic to a new WooCommerce product or landing page, glance at the Speed column in
WP Admin -> ProductsorPagesand click re-audit to verify90+Mobile PageSpeed readiness before spending ad budget.
Creator of KadiCache’s Early PHP Drop-In, 7-Driver Object Cache Engine, Cloud Remove Unused CSS, and Zero-CLS Lazy Render pipeline.