Is your website slow? How to find the cause and fix it

Is your website slow? How to find the cause and fix it

A website is usually slow for one of five reasons: a slow server, pages that are not cached, oversized images, a heavy theme or too many plugins, or third-party scripts such as ads, chat widgets and trackers. To find yours, test a typical page in PageSpeed Insights, see which Core Web Vital fails (LCP for loading, INP for responsiveness, CLS for layout shifts) and fix the biggest cause first.

This guide shows you how to measure speed properly, what the numbers mean, how to trace each problem to its cause and how to fix it, with extra detail for WordPress. If you are setting up a new site and want the short version of good habits, the speed section of our WordPress blog setup guide covers the basics. This page is for when a site already feels slow and you want to know why.

How do you check if your website is slow?

Do not judge by how fast the site feels on your own computer. Your browser has cached most files and you may be logged in. Your visitors are in a different position.

Use PageSpeed Insights, Google’s free testing tool. Paste in a URL and it returns two kinds of results:

  • Field data (real users): how the page actually performed for Chrome users over the previous 28 days, taken from the Chrome User Experience Report (CrUX). This is the data that tells you whether you have a real problem.
  • Lab data (a simulated test): a Lighthouse test run on one simulated device and network. It is useful for finding causes, because it lists specific problems on the page.

Google’s documentation on how PageSpeed Insights works explains that the two can disagree. Field data is a history of many real visits on many devices; lab data is one test under fixed conditions. When they disagree, trust the field data to tell you whether there is a problem, and use the lab data to find out why.

A new or small site often has no field data yet. PageSpeed Insights then falls back to data for your whole domain, and if there is not enough of that either, it shows lab results only. That is normal for a blog in its first months.

Which pages should you test?

  • A typical blog post, not just the home page. Most visitors from search land on posts.
  • One page of each template: a post, a page, a category archive and, on a shop, a product page.
  • The mobile result first. Phones have slower processors and connections, so problems show up there before desktop.

Run each test two or three times. Lab results vary a little between runs, so do not react to a single number.

What are Core Web Vitals and what scores should you aim for?

Core Web Vitals are three measurements Google uses to describe the experience of loading and using a page. The thresholds below come from Google’s Web Vitals documentation on web.dev and the PageSpeed Insights documentation:

Metric What it measures Good Needs improvement Poor
LCP (Largest Contentful Paint) How long the main content, usually the biggest image or text block, takes to appear 2.5 s or less 2.5 s to 4 s Over 4 s
INP (Interaction to Next Paint) How quickly the page responds when someone taps, clicks or types 200 ms or less 200 ms to 500 ms Over 500 ms
CLS (Cumulative Layout Shift) How much the layout jumps around while loading 0.1 or less 0.1 to 0.25 Over 0.25

Google measures each metric at the 75th percentile, so a page passes when at least three out of four visits are in the “good” range. To pass the Core Web Vitals assessment in PageSpeed Insights, all three need to be good. If there is not enough INP data, LCP and CLS alone decide it.

You will also see TTFB (Time to First Byte), which measures how long the server takes to start sending the page. It is not a Core Web Vital, but web.dev suggests aiming for 0.8 seconds or less, because a slow server delays everything after it, LCP included.

Does site speed affect Google rankings?

Somewhat, but less than content does. Google’s page on Core Web Vitals and Google Search says good scores align with what its core ranking systems seek to reward. Its page experience documentation also says Google always tries to show the most relevant content, even if the page experience is poor. In practice, speed helps when several pages are equally useful, and a slow site loses visitors who give up before it loads. If you are trying to grow search traffic, speed is one part of it; the rest is in how to get organic traffic from Google.

How do you read a PageSpeed Insights report?

Work from the top down:

  1. Core Web Vitals assessment: passed or failed, based on field data. If it passed, your site is not slow for most real visitors, whatever the score below says.
  2. The failing metric: note which of LCP, INP or CLS is amber or red. That tells you which section of this guide to read.
  3. Performance score: the 0 to 100 number from the lab test. It is a summary, not a goal. A score of 100 is not required, and a score in the 70s with good field data is fine.
  4. Diagnostics: the list of specific problems, such as large images, render-blocking files, unused JavaScript or a slow server response. Each one names the files involved, which often tells you which plugin or script is responsible.

Look at the file names in the diagnostics. A path containing /wp-content/plugins/some-slider/ points at a slider plugin. A domain you do not own points at a third-party script.

What are the most common reasons a website is slow?

Go through these in order. The early ones affect every page, so fixing them helps the most.

Is your hosting too slow?

The sign: a high TTFB (over 0.8 seconds) in PageSpeed Insights or a “reduce initial server response time” warning, especially on pages that should be simple.

The official WordPress optimization guide lists the hosting environment as a major factor. On shared hosting your site shares a server with many others and you control very little. It also says running current versions of PHP and the database is essential, and that the distance between server and visitor affects speed.

The fixes:

  • Switch to a current PHP version in your hosting panel. WordPress’s requirements page names the PHP version it recommends. Test the site afterwards, since an old plugin may not support it.
  • Turn on page caching (next section), which cuts server work far more than any other change.
  • Pick a server location close to most of your readers, and use a CDN (content delivery network) to serve images and other static files from locations near visitors. This site, for example, sits behind Cloudflare.
  • If TTFB stays high with caching on, the server itself is underpowered or overloaded. Ask your host, or move to a better plan or host.

Are your pages cached?

The sign: TTFB is high on every page, and WordPress’s own Site Health screen (Tools, then Site Health) flags a missing page cache or a slow server response. WordPress added this page cache check in version 6.1, with 600 ms as its threshold for an acceptable response.

Without a page cache, WordPress runs PHP code and database queries to build every page for every visitor. A page cache saves the finished HTML and serves that copy instead. The WordPress documentation on caching says this can make fairly static pages several hundred times faster.

The fixes:

  • Check your host first. Many managed hosts and server panels include server-level caching. If yours does, use it and do not add a caching plugin on top.
  • Otherwise, add one caching plugin. Not two. Caching plugins that overlap cause stale pages and strange errors.
  • Consider a persistent object cache (such as Redis or Memcached) if your host offers it. It keeps frequently used data in memory between requests, which can help with pages that cannot be fully page-cached, such as the admin area or a shop’s cart.

We checked three widely used caching plugins on wordpress.org:

  • WP Super Cache (by Automattic): 1,000,000+ active installs. It saves static HTML files and serves them to visitors who are not logged in.
  • LiteSpeed Cache: 7,000,000+ active installs. Its general features work on any server, but its page caching needs a LiteSpeed web server (or QUIC.cloud), so it suits hosts that run LiteSpeed.
  • W3 Total Cache: 900,000+ active installs.

Check each one’s “tested up to” line against your WordPress version. If you are not sure how to add one, see how to install a WordPress plugin, and take a backup first.

Are your images too big?

The sign: a poor LCP, with diagnostics such as “properly size images”, “serve images in next-gen formats” or “efficiently encode images”. On blogs, the LCP element is very often the featured image at the top of the post.

A photo straight from a phone is often thousands of pixels wide, far wider than a blog column.

The fixes:

  • Resize before uploading. Match the largest size your theme actually displays.
  • Compress. Use an image optimisation plugin or compress images before upload.
  • Use modern formats. WebP and AVIF are image formats designed to be smaller than JPEG and PNG. The WordPress Performance Team’s Modern Image Formats plugin (also offered through Performance Lab) generates AVIF or WebP versions of new uploads, depending on what your server supports.
  • Do not lazy-load the main image. WordPress has added loading="lazy" to images automatically since version 5.5, which helps for images lower on the page. But web.dev’s guide to optimizing LCP warns never to lazy-load the LCP image. Since WordPress 6.3, core also adds fetchpriority="high" to the image it judges most likely to be the LCP image. Some optimisation plugins override this, so check the main image is not lazy-loaded.
  • Avoid sliders and background images for the hero. An image set in CSS or loaded by a slider script is found later by the browser than a normal <img> tag in the HTML.

Is your theme or page builder too heavy?

The sign: diagnostics such as “reduce unused CSS”, “reduce unused JavaScript” or “avoid an excessive DOM size”, with file paths pointing to your theme or page builder.

The WordPress optimization guide puts it plainly: your theme has a huge impact on performance, and a fast, lightweight theme performs much better than a heavy, graphic-laden one. Multipurpose themes and page builders often load code for every feature on every page, whether or not the page uses it.

The fixes:

  • On a staging copy of the site, switch to a default theme such as Twenty Twenty-Five and run PageSpeed Insights again. If the score jumps, the theme is the main cost.
  • Turn off theme features you do not use (sliders, animations, extra font families, icon libraries) in the theme settings.
  • Load fewer web fonts. Each font weight is a separate file.
  • For a new design, pick a lightweight theme and use the block editor for layout instead of adding a page builder.

Curious what a fast site you admire is built with? We explain how in how to find which theme and plugins a site uses.

Do you have too many plugins, or a slow one?

The sign: slow page generation, especially in the admin area, or many CSS and JavaScript files from /wp-content/plugins/ in the diagnostics.

The number of plugins matters less than what each one does. One badly written plugin that runs slow database queries on every page can cost more than ten small, careful ones. The WordPress guide notes that deactivating and deleting unnecessary plugins is a significant way to improve performance.

The fixes:

  • Delete what you do not use. Deactivated plugins should be removed, not left lying around.
  • Find the slow one with Query Monitor. Query Monitor is a free developer tools panel that shows database queries, scripts and stylesheets grouped by the plugin or theme responsible. Remove it when you are done.
  • Test by elimination on staging. Deactivate plugins one at a time and re-test to see which removal makes the difference.
  • Look for lighter alternatives to heavy plugins: a simple contact form instead of a full form suite, or a theme’s built-in social links instead of a social plugin. Our list of essential WordPress plugins sticks to the ones most blogs actually need.

Are third-party scripts slowing you down?

The sign: diagnostics mention “reduce the impact of third-party code”, or list domains you do not own: ad networks, analytics, chat widgets, social embeds, heat-mapping tools, video players and cookie banners. These often hurt INP, because heavy JavaScript keeps the browser busy when a visitor tries to tap or scroll. Ads and embeds that arrive late are also one of the most common causes of poor CLS, according to web.dev.

The fixes:

  • Audit the list. For each script, ask whether you still use the data or feature. Remove tracking tools you have not looked at in months.
  • Load embeds on demand. Show a thumbnail for a YouTube video and load the player only when someone clicks.
  • Reserve space for ads and embeds with a fixed height in your layout, so content does not jump when they load.
  • Delay non-essential scripts, such as chat widgets, until after the page has loaded. Many caching and optimisation plugins have a “delay JavaScript” option, but test carefully, since it can break features.

How do you fix a slow WordPress site step by step?

Here is the order that gives the most improvement for the least risk:

  1. Back up the site, or work on a staging copy. Speed changes can break layouts. Our guide to WordPress backup plugins covers how.
  2. Record a baseline. Test three typical pages on mobile in PageSpeed Insights and note LCP, INP, CLS, TTFB and the main diagnostics.
  3. Update WordPress, your theme, plugins and PHP version.
  4. Turn on page caching through your host or one plugin. Re-test.
  5. Fix images: resize and compress the largest ones, especially featured images, and make sure the top image is not lazy-loaded.
  6. Remove unused plugins and unneeded third-party scripts.
  7. Find the heavy hitter with Query Monitor and the PageSpeed diagnostics, then replace or configure it.
  8. Add a CDN if your readers are spread across countries.
  9. Try optimisation settings (minifying CSS and JavaScript, delaying scripts) last, one at a time, checking the site after each.
  10. Re-test and wait. Lab results change straight away. Field data covers 28 days, so it takes about a month to fully reflect your changes.

What should you fix for each Core Web Vital?

If you only have one failing metric, focus on the causes most linked to it:

  • Poor LCP: slow server or no caching (high TTFB), oversized or lazy-loaded hero image, render-blocking CSS and fonts, a slider at the top of the page.
  • Poor INP: too much JavaScript: page builders, ad scripts, chat widgets, analytics stacks and plugins that add scripts to every page.
  • Poor CLS: images without width and height, ads and embeds without reserved space, content injected above existing content (banners, cookie notices) and web fonts that change text size as they load.

What mistakes should you avoid when speeding up a website?

  • Chasing a score of 100. Passing Core Web Vitals in the field matters more than the lab score.
  • Stacking caching or optimisation plugins. Two plugins doing the same job fight each other.
  • Testing while logged in. Caching plugins such as WP Super Cache serve cached pages to visitors who are not logged in, so your logged-in view is slower than what visitors see. Test in a private window or with PageSpeed Insights.
  • Testing only the home page. Your posts may use a different template with different problems.
  • Turning on every optimisation option at once. If something breaks, you will not know which setting caused it.
  • Forgetting to clear the cache after changes, then thinking the change did nothing.
  • Ignoring the server. No plugin can make up for hosting that takes two seconds to answer.

A slow site is also one of the common SEO mistakes bloggers make, but it is rarely the only one. Fix the speed problem, then get back to publishing.

Frequently asked questions

What is a good page load time?

Use Core Web Vitals instead of a single load time. Aim for LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less, for at least 75% of visits.

Why is my website slow on mobile but fast on desktop?

Phones have slower processors and often slower connections, so heavy JavaScript and large images hurt more. PageSpeed Insights also simulates a mid-tier phone on a mobile network for its mobile test. Fix mobile first.

Why does PageSpeed Insights show different results each time?

The lab test runs on a simulated device whose network and server conditions vary a little between runs. Run it a few times and look at the trend. Field data is steadier because it covers 28 days of real visits.

Do I need a caching plugin if my host has caching?

Usually not. If your host provides server-level page caching, adding a plugin cache on top can cause conflicts. Check your host’s documentation, and use a plugin only if there is no server cache.

Will a CDN make my website faster?

It helps most when visitors are far from your server, because it serves images, CSS and JavaScript from locations near them. It will not fix a slow uncached server response or heavy scripts on its own.

Similar Posts