To achieve 100 on PageSpeed Insights on both Mobile and Desktop in 2026, you must eliminate server-edge cache conflicts, keep mobile and desktop caching unified, serve an appropriately sized LCP asset with fetchpriority="high", remove unused third-party preconnects, defer non-critical JavaScript, and eliminate main-thread layout thrashing.

When we audited w3techy.com against Google Core Web Vitals thresholds using Lighthouse 13.6.0, our Desktop score sat at 100 while Mobile initially hit 98—and worse, dropped all the way to 62 Performance (7.1 s LCP) whenever a mobile visitor struck a cold Cloudflare edge datacenter.

Rather than adding another heavy optimization plugin, we traced every bottleneck across Cloudflare, SpeedyCache Pro, Jetpack, and our custom WordPress theme. By resolving real infrastructure conflicts and fixing a handful of theme-level rendering drags, both Mobile and Desktop helped us achieve 100 on PageSpeed Insights (100/100/100/100) with zero diagnostics.

Benchmark Results Before and After Optimization

Here is the exact telemetry captured as we worked to achieve 100 on PageSpeed Insights before and after our optimization pass on WordPress, SpeedyCache Pro, and Cloudflare.

Core MetricMobile Before (Cached / Cold POP)Mobile After (Verified 100)Desktop BeforeDesktop After (Verified 100)
Performance Score98 / 62100100100
First Contentful Paint (FCP)0.9 s / 4.5 s0.9 s (916 ms)0.3 s0.3 s (253 ms)
Largest Contentful Paint (LCP)2.3 s / 7.1 s1.7 s (1,703 ms)0.5 s0.5 s (531 ms)
Total Blocking Time (TBT)0 ms / 10 ms0 ms0 ms0 ms
Cumulative Layout Shift (CLS)000.0010
Speed Index (SI)1.5 s / 6.1 s1.2 s (1,163 ms)0.5 s0.5 s (488 ms)
Remaining Diagnostics5–7 items0 items3–4 items0 items
Achieve 100 on PageSpeed Insights Mobile score report showing 100 across Performance, Accessibility, Best Practices, and SEO
Verified PageSpeed Insights Mobile result: 100 Performance, 100 Accessibility, 100 Best Practices, 100 SEO, and 3/3 Agentic Browsing.
Achieve 100 on PageSpeed Insights Desktop score report showing 100 across all categories
Verified PageSpeed Insights Desktop result: 100 Performance (0.5 s LCP, 0 CLS) alongside 100 Accessibility, Best Practices, and SEO.

Step 1: Fix Cloudflare and Cache Plugin Conflicts to Achieve 100 on PageSpeed Insights

Most WordPress performance guides tell you to install a cache plugin and turn everything on. In production, overlapping features between Cloudflare, your caching plugin, and WordPress core silently sabotage speed scores—especially when they conflict on mobile traffic.

1. Resolve the Mobile Override vs. Mobile Cache Trap

The single biggest drop in our audit came from an invisible conflict inside SpeedyCache Pro: Mobile Override (“Disable desktop cache display on mobile devices”) was enabled while Mobile Cache (“Create separate cache for mobile devices”) was disabled.

Because Cloudflare Free caches per edge datacenter without splitting cache keys by device type, any mobile user hitting an unwarmed Cloudflare POP bypassed SpeedyCache entirely. Origin WordPress then served raw, uncombined CSS, external Google Fonts requests (776 ms critical path), and un-delayed Google AdSense and Google Tag Manager scripts (413 KiB of blocking third-party JS).

The fix: If your WordPress theme uses modern responsive CSS rather than a legacy mobile-only theme (verified via zero wp_is_mobile() HTML branching), turn Mobile Override OFF and keep separate Mobile Cache off. Both Mobile and Desktop now share one optimized static cache everywhere, which is essential to achieve 100 on PageSpeed Insights consistently.

2. Eliminate Duplicate Analytics, Email Obfuscation, and Speculation JS

Inspecting the live critical request chain revealed multiple services duplicating work at the cost of extra network hops and Legacy JavaScript warnings in Chrome Lighthouse scoring.

Conflicting LayerWhat Slowed Down PSIAction TakenMeasured Gain
Cloudflare Web Analytics (RUM)Injected beacon.min.js (10.4 KiB Legacy JS, 1d TTL warning, 469 ms /cdn-cgi/rum chain) alongside GA4Disabled Cloudflare RUM (rum: off)Removed 2 network hops & Legacy JS warning
Cloudflare Email ObfuscationInjected synchronous email-decode.min.js (183 ms critical path + 2d TTL warning)Disabled Cloudflare obfuscation & used WP antispambot()Zero JS cost with HTML entity protection intact
3-Way PreloadingCloudflare Speed Brain + WP Speculation Rules + SpeedyCache Instant Page JSKept Speed Brain & WP Speculation Rules; disabled SpeedyCache Instant Page JSRemoved extra JS request while keeping zero-JS prerendering
Cloudflare Cache RulesetManaged 24h edge TTL ruleset by SpeedyCacheKept active (cf-cache-status: HIT)Preserved 0 ms Time to First Byte (TTFB)

Notice what we deliberately left untouched: Cloudflare Speed Brain and the SpeedyCache edge Cache Ruleset already give visitors instant edge TTFB (0 ms on Mobile PSI). Removing components that actively improve speed hurts real-world performance, so prune only overlapping scripts that add blocking overhead when working to achieve 100 on PageSpeed Insights.

Step 2: Optimize LCP Images and Local Fonts to Achieve 100 on PageSpeed Insights

On Mobile PageSpeed Insights, our original Largest Contentful Paint element was not a huge hero banner—it was the header brand logo. WordPress customizer’s get_theme_mod('custom_logo') returned the 'full' attachment (2560x747 WebP at 50.2 KiB) for a navbar logo rendered at just 34px CSS height (204×60 physical pixels on Moto G Power).

Cap Logo Srcset and Apply fetchpriority=”high”

Even with WordPress responsive srcset, including 1536w or 2560w candidates causes high-DPR phones to over-download. By requesting WordPress’s 'medium' size (300x88 at 5.6 KiB), capping the logo’s srcset at 768px, and adding fetchpriority="high" decoding="sync", the LCP download shrunk by nearly 89%.

function w3t_cap_logo_srcset( $sources ) {
if ( ! is_array( $sources ) ) {
return $sources;
}
$filtered = array_filter(
$sources,
static function ( $source, $width ) {
return (int) $width <= 768;
},
ARRAY_FILTER_USE_BOTH
);
return $filtered ?: $sources;
}
add_filter( 'wp_calculate_image_srcset', 'w3t_cap_logo_srcset', 20 );
echo wp_get_attachment_image(
$custom_logo_id,
'medium',
false,
array(
'class'         => 'logo-img',
'sizes'         => '137px',
'fetchpriority' => 'high',
'decoding'      => 'sync',
)
);
remove_filter( 'wp_calculate_image_srcset', 'w3t_cap_logo_srcset', 20 );

We also paired this with SpeedyCache Pro’s Preload Critical Images option (Count: 1), which injects an early <link rel="preload" as="image" fetchpriority="high"> hint into the document head, while keeping below-the-fold footer logos and card thumbnails on native loading="lazy" decoding="async" without JavaScript lazy-load bloat that slows down sites trying to achieve 100 on PageSpeed Insights.

Stop Emitting Unused Google Fonts Preconnect Hints

When SpeedyCache Pro downloads and serves Google Fonts locally from /wp-content/cache/speedycache/.../fonts/, zero browser connections go to fonts.googleapis.com or fonts.gstatic.com. Yet our theme hardcoded two preconnect tags in header.php, WordPress wp_resource_hints added two more, and SpeedyCache DNS Prefetch emitted two more—wasting six cold socket hints.

We removed the hardcoded HTML tags from header.php, cleaned Google Fonts from SpeedyCache’s DNS Prefetch modal, and updated wp_resource_hints to check on disk whether SpeedyCache’s local fonts cache directory is active before emitting external preconnects:

function w3t_resource_hints( $urls, $relation_type ) {
if ( 'preconnect' === $relation_type ) {
$host      = wp_parse_url( home_url(), PHP_URL_HOST );
$fonts_dir = $host ? WP_CONTENT_DIR . '/cache/speedycache/' . $host . '/fonts' : '';
if ( $fonts_dir && is_dir( $fonts_dir ) ) {
return $urls;
}
$urls[] = array( 'href' => 'https://fonts.googleapis.com' );
$urls[] = array( 'href' => 'https://fonts.gstatic.com', 'crossorigin' => 'anonymous' );
}
return $urls;
}

Finally, if your theme ships a full-screen JavaScript #preloader overlay waiting for window.load before fading out, disable it by default if you want to achieve 100 on PageSpeed Insights faster. Holding the hero headline and navigation behind an artificial curtain directly inflates Speed Index and Element Render Delay—topics we also explore in our guide to architecting resilient cloud and web platforms.

Step 3: Eliminate Render-Blocking JS and CLS to Achieve 100 on PageSpeed Insights

Achieving 0 ms Total Blocking Time and 0 CLS requires inspecting both what WordPress core enqueues and what your frontend scripts execute inside animation loops.

Dequeue Logged-Out Heartbeat and Defer Theme Scripts

Even with SpeedyCache’s Heartbeat limiter active on the backend, WordPress still left an empty 0-byte <script id="heartbeat-js"> network request in the critical path (347 ms latency on Mobile). Simultaneously, Jetpack’s floating subscribe widget loaded synchronous wp-includes/js/dist/dom-ready.min.js (326 ms chain) and triggered a 0.001 Desktop CLS shift.

Because our theme already includes an inline footer newsletter form, we turned off Jetpack’s floating corner subscribe toggle cleanly in WordPress Admin, added WordPress 6.3+ strategy => 'defer' on our main script, and stripped logged-out frontend heartbeat completely so WordPress sites can achieve 100 on PageSpeed Insights with fewer critical-path requests:

function w3t_dequeue_frontend_heartbeat() {
if ( ! is_admin() && ! is_user_logged_in() ) {
wp_dequeue_script( 'heartbeat' );
wp_deregister_script( 'heartbeat' );
}
}
add_action( 'wp_enqueue_scripts', 'w3t_dequeue_frontend_heartbeat', 999 );
add_filter( 'script_loader_tag', function ( $tag, $handle ) {
if ( 'heartbeat' === $handle && ! is_admin() && ! is_user_logged_in() ) {
return '';
}
return $tag;
}, 20, 2 );

Fix requestAnimationFrame Layout Thrashing and Non-Composited CSS

Our original Desktop trace flagged an unattributed 33 ms forced reflow inside the main thread. Reading our theme’s infinite tech-stack carousel script uncovered classic layout thrashing: every 16 ms frame read stackSlide.offsetWidth immediately after writing stackTrack.scrollLeft = pos—even when scrolled far away from the section.

let slideWidth = stackSlide.offsetWidth;
let inView = true;
new ResizeObserver(() => {
slideWidth = stackSlide.offsetWidth;
}).observe(stackSlide);
new IntersectionObserver((entries) => {
inView = entries[0]?.isIntersecting ?? true;
if (inView) startTick();
}, { rootMargin: '80px' }).observe(stackTrack);
function tick() {
rafId = null;
if (!paused && inView) {
pos = (pos + 0.7) % (slideWidth || 1);
stackTrack.scrollLeft = pos;
rafId = requestAnimationFrame(tick);
}
}

Meanwhile, CSS rules using shorthand transition: all var(--transition) inadvertently triggered main-thread paint and geometry animations on box-shadow, border-radius, width, and font-size across buttons, slider dots, and cookie toasts. Replacing transition: all with explicit transform, opacity, and color transitions cleared every non-composited animation warning as you achieve 100 on PageSpeed Insights.

Step 4: Purge Edge Caches and Re-Verify to Achieve 100 on PageSpeed Insights

One of the most common reasons developers think an optimization failed is testing a stale edge copy—or testing a cold origin miss that has not yet generated Critical CSS and combined assets.

  1. Purge Origin Cache & Minified Assets First: Clear all HTML, CSS, and JS bundles inside SpeedyCache so updated theme stylesheets rebuild cleanly.
  2. Purge Cloudflare Edge Cache Immediately After: Run a full Cloudflare zone purge so no datacenter POP keeps serving outdated asset hashes or deleted headers.
  3. Warm With a Mobile User-Agent First: Fetch key landing pages with a Mobile User-Agent before opening PageSpeed Insights, verifying combined.css, local fonts, delayed ads, and CF-Cache-Status: HIT are present.
  4. Run Mobile & Desktop PSI Audits: Inspect both tabs carefully so fast laboratory scores align cleanly with automated WordPress SEO benchmarks and clean WordPress accessibility markup.

5 Common Mistakes When Trying to Achieve 100 on PageSpeed Insights

  • Running Double Minification: Enabling CSS/JS minify in both Cloudflare and your WordPress caching plugin can break asset hashes without reducing bytes further.
  • Applying JS Lazy Load Above the Fold: JavaScript lazy-loading scripts delay the LCP logo or hero image unless carefully excluded; native HTML loading="lazy" on below-the-fold cards paired with fetchpriority="high" on the LCP element works with zero script weight.
  • Enabling “Mobile Override” Without Mobile Cache: Turning off desktop cache sharing without generating mobile cache strips all optimizations for real mobile users on cold CDN POPs.
  • Keeping Redundant Analytics Beacons: Running Google Analytics, Cloudflare Web Analytics, and third-party tracking widgets simultaneously stacks extra DNS chains and Legacy JS warnings.
  • Chasing Informational Audits While Ignoring Critical Chains: Focus first on LCP element weight, render-blocking stylesheets, synchronous scripts, and mobile caching before worrying about sub-10 KiB secondary icons while optimizing to achieve 100 on PageSpeed Insights.

Frequently Asked Questions About How to Achieve 100 on PageSpeed Insights

How do I achieve 100 on PageSpeed Insights on WordPress?

Unify Mobile and Desktop page caching, preload a right-sized LCP image with fetchpriority=high, serve Google Fonts locally without external preconnects, defer non-critical JS, dequeue logged-out Heartbeat scripts, eliminate requestAnimationFrame layout thrashing, and remove overlapping Cloudflare scripts like Web Analytics and Email Obfuscation.

Why did my PageSpeed Mobile score drop to 62 while Desktop scored 100?

This usually happens when your WordPress cache plugin enables Mobile Override (blocking desktop cache on mobile) while leaving separate Mobile Cache turned off. When Google Lighthouse Mobile hits an uncached Cloudflare edge POP, origin WordPress bypasses minification, local fonts, and delayed ad scripts, sending raw blocking assets to Mobile while Desktop serves the optimized cache, preventing you from hitting a mobile score that can achieve 100 on PageSpeed Insights.

Should I disable Cloudflare Speed Brain and Cache Rules to improve speed?

No. Cloudflare Cache Rules deliver 0 ms TTFB from the edge, and Speed Brain uses native browser Speculation Rules without JavaScript overhead. Instead of disabling fast edge caching, remove overlapping JavaScript prefetchers like Instant Page JS and redundant RUM or Email Decode scripts when optimizing to achieve 100 on PageSpeed Insights.

How much did shrinking the header logo improve Mobile LCP?

Replacing the full 2560×747 WordPress custom logo (50.2 KiB) with a srcset-capped 300×88 WebP variant (5.6 KiB) plus fetchpriority=high cut Mobile LCP download size by roughly 89% and helped bring Mobile LCP down from 2.3 s to 1.7 s.

Does disabling the Jetpack Floating Subscribe Button improve WordPress speed?

Yes. On our audit, the floating subscribe button pulled in synchronous wp-dom-ready.min.js in the critical request path and caused 0.001 Desktop CLS. Disabling it while retaining an inline footer newsletter form produced 0 CLS and eliminated two extra frontend script files.

Share this article

Discover more from W3Techy

Subscribe to get the latest posts sent to your email.