<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Saurabh Singh</title>
    <description>The latest articles on DEV Community by Saurabh Singh (@saurabh_singh_cb330b04fc5).</description>
    <link>https://dev.to/saurabh_singh_cb330b04fc5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4268392%2Ff81ea232-0d24-4fa1-a82f-203d9b9f4c05.png</url>
      <title>DEV Community: Saurabh Singh</title>
      <link>https://dev.to/saurabh_singh_cb330b04fc5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saurabh_singh_cb330b04fc5"/>
    <language>en</language>
    <item>
      <title>How to Fix a Slow WordPress Website to Hit 95+ Mobile Core Web Vitals</title>
      <dc:creator>Saurabh Singh</dc:creator>
      <pubDate>Fri, 27 Nov 2026 07:57:50 +0000</pubDate>
      <link>https://dev.to/saurabh_singh_cb330b04fc5/how-to-fix-a-slow-wordpress-website-to-hit-95-mobile-core-web-vitals-2pne</link>
      <guid>https://dev.to/saurabh_singh_cb330b04fc5/how-to-fix-a-slow-wordpress-website-to-hit-95-mobile-core-web-vitals-2pne</guid>
      <description>&lt;p&gt;Every week I audit WordPress sites for clinics and service businesses in Australia and India that look fine on office Wi-Fi — yet score 28 to 44/100on mobile PageSpeed Insights.&lt;/p&gt;

&lt;p&gt;When a visitor taps your Google listing on 4G mobile, a 5-second blank white screen costs you the enquiry.&lt;/p&gt;

&lt;p&gt;Here is the exact engineering checklist I use to move bloated WordPress builds from 35/100 → 95–100/100 on mobile Core Web Vitals.&lt;/p&gt;




&lt;ol&gt;
&lt;li&gt;Fix Origin TTFB Latency First&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Google's &lt;a href="https://web.dev/articles/ttfb" rel="noopener noreferrer"&gt;web.dev TTFB guidelines&lt;/a&gt; target &lt;strong&gt;under 800ms&lt;/strong&gt; (ideally &lt;code&gt;&amp;lt; 200ms&lt;/code&gt; for fast LCP).&lt;/p&gt;

&lt;p&gt;Two common killers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hosting an Australian &lt;code&gt;.com.au&lt;/code&gt; or Indian &lt;code&gt;.in&lt;/code&gt; site on a US-Central server without full-page edge caching (&lt;code&gt;+250ms–400ms&lt;/code&gt; network round-trip).&lt;/li&gt;
&lt;li&gt;Running 60+ uncached MySQL queries on every HTML request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fix:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Move origin hosting closer to your users (e.g., Sydney &lt;code&gt;ap-southeast-2&lt;/code&gt; or Mumbai &lt;code&gt;ap-south-1&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Put Cloudflare edge page caching / APO in front of HTML responses so repeat anonymous hits serve in &lt;code&gt;&amp;lt; 150ms&lt;/code&gt; TTFB.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  2. Dequeue Unused Builder &amp;amp; Block CSS/JS
&lt;/h2&gt;

&lt;p&gt;Page builders (Elementor, Divi, WPBakery) often wrap simple text in 10 nested &lt;code&gt;&amp;lt;div&amp;gt;&lt;/code&gt; layers and enqueue 1–2 MB of CSS/JS globally — even on pages that don't use those widgets.&lt;/p&gt;

&lt;p&gt;If you aren't using Gutenberg block styles or emojis on the frontend, strip them in &lt;code&gt;functions.php&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&amp;lt;?php&lt;br&gt;
add_action('wp_enqueue_scripts', function () {&lt;br&gt;
    if (!is_admin()) {&lt;br&gt;
        wp_dequeue_style('wp-block-library');&lt;br&gt;
        wp_dequeue_style('wp-block-library-theme');&lt;br&gt;
        wp_dequeue_style('global-styles');&lt;br&gt;
    }&lt;br&gt;
}, 100);&lt;/p&gt;

&lt;p&gt;// Remove WordPress emoji scripts/styles&lt;br&gt;
remove_action('wp_head', 'print_emoji_detection_script', 7);&lt;br&gt;
remove_action('wp_print_styles', 'print_emoji_styles');&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


&amp;gt; Pro tip: Caching plugins mask symptoms, but they cannot delete 1,800 DOM nodes. For heavily bloated sites, rebuilding the marketing pages in clean PHP/custom WordPress (under 450 DOM elements) often beats weeks of plugin tweaking.

---

3. Preload &amp;amp; Prioritize Your LCP Hero Image

The most common LCP mistake on mobile is lazy-loading the hero image (`loading="lazy"`), which delays paint until JS/layout settles.

Instead, explicitly prioritize the above-the-fold hero image and set `width`/`height` to prevent Cumulative Layout Shift (CLS):


&amp;lt;img
  src="/assets/images/hero-banner.webp"
  alt="Clinic website performance example"
  width="1200"
  height="675"
  fetchpriority="high"
  decoding="async"
/&amp;gt;




4. Delay Non-Critical Third-Party Scripts (Chat, Pixels, Booking Embeds)

Chat widgets, Facebook/Meta Pixels, and third-party booking embeds block the main thread and destroy **INP (Interaction to Next Paint).

Delay non-essential scripts until the first user interaction (`scroll`, `mousemove`, `touchstart`) or after `3.5s`:


let scriptsLoaded = false;
function loadDeferredScripts() {
  if (scriptsLoaded) return;
  scriptsLoaded = true;

  const s = document.createElement('script');
  s.src = 'https://example.com/chat-widget.js';
  s.defer = true;
  document.body.appendChild(s);
}

['scroll', 'mousemove', 'touchstart', 'keydown'].forEach(evt =&amp;gt;
  window.addEventListener(evt, loadDeferredScripts, { once: true, passive: true })
);
setTimeout(loadDeferredScripts, 3500);

Benchmark Before &amp;amp; After

Before changing anything, record your baseline LCP, CLS, INP, and TTFB:
- Run your URL on our free [Instack360 Website Speed Audit](https://www.instack360.com/speed-audit) tool
- Or test directly with Google PageSpeed Insights

Originally published on [Instack360 Blog](https://www.instack360.com/blog/fix-slow-wordpress-website-australia).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>webperf</category>
      <category>php</category>
    </item>
  </channel>
</rss>
