How to make a WordPress site load in under 2 seconds

A practical plan to speed up WordPress and get pages loading in under 2 seconds, covering hosting, caching, images, plugins and how to measure properly.

Yes, a normal WordPress business site can load in under 2 seconds. To get there you need four things: decent hosting with server-level caching, a page cache, images that are sized and compressed properly, and fewer heavy plugins and scripts. Most slow sites I audit fail on at least three of these.

The order matters. Fix hosting and caching first, because they affect every page. Then images, because they are usually the biggest files. Then plugins and third-party scripts, because they block the browser from showing the page.

This is the same process I use when clients hire me to speed up WordPress. Here it is step by step.

What "under 2 seconds" should mean

"Load time" is vague, so pick a clear target. I use the moment the main content appears, which Google measures as Largest Contentful Paint (LCP). Google's "good" threshold is 2.5 seconds or less. Aiming for under 2 seconds on a mid-range phone gives you a safe margin.

Measure in two places:

  • PageSpeed Insights at pagespeed.web.dev. The top section shows field data from real Chrome users, if your site has enough traffic. The lower section is a lab test on a simulated slow phone.
  • Search Console, under Core Web Vitals, which groups your URLs into good, needs improvement and poor.

Field data is what matters for users and for Google. The lab score is a diagnostic tool, not a goal. A lab score of 70 with good field data is fine. If the terms are new to you, my article on Core Web Vitals for business owners explains them in plain English.

Step 1: Fix the hosting first

No plugin can make up for a slow server. The number to look at is Time to First Byte (TTFB), which is how long the server takes to start sending the page. PageSpeed Insights shows it in the diagnostics.

As a rough guide, a cached page should start arriving in well under half a second. If your TTFB is over a second even on repeat visits, the server is the bottleneck.

Signs your hosting is the problem:

  • Very cheap shared hosting with hundreds of sites per server
  • An old PHP version, below 8.2
  • No server-level caching or object caching on offer
  • A data centre on the other side of the world from your customers

Moving to a better host is often the single biggest improvement I make. Look for current PHP, server-side page caching, Redis or Memcached for object caching, and a data centre near your audience.

Step 2: Add a page cache

WordPress builds each page with PHP and database queries on every visit. A page cache saves the finished HTML and serves that instead. This turns a slow, dynamic response into a fast, static one.

Use one caching tool, not three. Good options:

  • Your host's built-in cache, if they offer one
  • LiteSpeed Cache, if your host runs LiteSpeed
  • WP Rocket, a paid plugin that works on most hosts

Make sure logged-out pages are cached, the cache is preloaded so the first visitor does not get a slow page, and cart, checkout and account pages are excluded on WooCommerce sites.

Step 3: Get images under control

On most sites I audit, images make up most of the page weight. The hero image alone is often a 3 MB photo straight from a camera.

Fix them like this:

  1. Resize images to the largest size they actually display. A hero rarely needs to be wider than 1,920 pixels.
  2. Serve modern formats such as WebP or AVIF. WordPress supports both, and image plugins can convert existing uploads.
  3. Lazy load images below the fold. WordPress does this by default with loading="lazy".
  4. Do not lazy load the main image at the top of the page. Lazy loading the LCP image delays it.
  5. Set width and height on images so the layout does not jump while they load.

If your hero image is set as a CSS background in a page builder, the browser finds it late. Using a normal image element, or preloading it, often cuts noticeable time off LCP. My guide to fixing LCP issues covers this in detail.

Step 4: Cut plugins and scripts

Plugins are not slow because there are many of them. They are slow when they load scripts and styles on every page, or run heavy database queries on every request. A contact form plugin that loads its JavaScript on every page, when the form exists on one page, is a typical example.

Go through your plugin list and ask of each one:

  • Do I still use this?
  • Does it load assets on pages where it is not needed?
  • Is there a lighter way to do the same thing?

Then look at third-party scripts. Chat widgets, heatmaps, multiple analytics tags, ad pixels and embedded social feeds can each add hundreds of milliseconds. Remove what you do not use. Delay the rest until the user interacts with the page, which plugins like WP Rocket and Perfmatters can do.

Step 5: Trim CSS, JavaScript and fonts

Once the big items are fixed, the smaller ones matter:

  • Remove unused CSS. Page builders and themes ship a lot of CSS you never use. Caching plugins can generate used-CSS per page. Test carefully, because it sometimes breaks layouts.
  • Defer JavaScript. Scripts that are not needed to show the page can load after it. Test menus, sliders and forms after enabling this.
  • Host fonts locally. Load fonts from your own domain, use WOFF2, and limit to two families with only the weights you use.
  • Avoid sliders in the hero. A static image with a clear headline loads faster and usually converts better.

Add a CDN

A content delivery network (CDN) stores copies of your files on servers around the world, so visitors download them from somewhere close. If your customers are spread across countries, a CDN like Cloudflare helps a lot. If they are all in one city and your server is nearby, it matters less, but it still takes load off the server.

A worked example of the order

Here is a typical before-and-after plan for a small business site on cheap shared hosting with a page builder theme. The numbers are illustrative, not from a specific client.

StepWhat changesWhat it mainly improves
Move to better hostingTTFB drops from slow to fastEvery page, every metric
Enable page cache with preloadPages served as static HTMLTTFB, LCP
Resize and convert hero imageHero goes from megabytes to under 200 KBLCP
Remove 6 unused pluginsFewer scripts and queriesINP, TTFB
Delay chat widget and pixelsMain thread freed upINP, LCP
Local fonts, two weightsFewer requests, less layout shiftLCP, CLS

Doing these in this order means each step builds on the last. Doing them in reverse, starting with minifying CSS, gives tiny gains while the real problems remain.

Keep it fast after launch

Sites slow down over time. New plugins arrive, a marketing tool adds a script, someone uploads a 5 MB banner. Check PageSpeed Insights monthly, and check the Core Web Vitals report in Search Console after any big change. If you run Elementor, my list of Elementor speed fixes covers the builder-specific issues.

The short version

  • Target LCP under 2 seconds on mobile and measure with field data.
  • Fix hosting and TTFB first.
  • Use one good page cache with preloading.
  • Resize, compress and convert images, and never lazy load the hero.
  • Remove unused plugins and delay third-party scripts.
  • Then trim CSS, JavaScript and fonts.

If you want this done for you, my speed optimization service follows exactly this process and reports field data before and after. Contact me with your URL and I will tell you where the time is going.

Available for new projects

Need a hand with this?

Tell me what you need: a new site, a fix, a SaaS or an app. You'll get a clear plan and price within a day.

Start a project WhatsApp me