A slow WordPress website almost always depends on one of these causes: a file that is too heavy, a missing or bypassed cache, too many requests, unused plugins and leftovers, inadequate hosting or PHP version. Finding them takes measurements more than impressions, and the tools for taking them are free.

The example used in this article is valentinochiarla.it, measured on 12 November 2026, before the rebuild. It had almost all the problems on the list, including one that made the newly installed cache useless.

How to measure the speed of a WordPress website

Measurements should be taken before any change and repeated afterwards under the same conditions. The Network tab of the Chrome developer tools, with the browser cache disabled, shows the page weight, the number of requests and the server response time, that is, the wait before the first byte arrives (under “Waiting for server response”). PageSpeed Insights adds an overall assessment. The mobile version is the strictest and usually the most useful, because it simulates a mid-range phone on a slow network.

1. One file that's too heavy, often a video

The home page weighed 12.4 MB, of which 11.6 were the opening video, downloaded in full even on phones. Text, images and scripts together came to less than a megabyte. Sorting the files by size in the Network tab, a case like this shows up on the first row.

A background video can be recompressed to 720p, without audio and optimised for streaming. On phones it can be replaced with a still image. For photographs the typical problem is size: a 4000 pixel image shown in a 600 pixel box should be resized, converted to WebP or AVIF and loaded only when it reaches the screen.

2. A missing cache or one that does not work

Without a cache, the server rebuilds the page at every visit: it queries the database, runs the theme and the plugins, generates the HTML. With a page cache the result is stored and delivered ready-made.

The website was on a LiteSpeed server, which has its own cache, but the plugin that activates it was missing. After it was installed and configured, pages were still being generated every time. The cause was a rule left for years in the file .htaccess, which added the header Vary: User-Agent: for the server, every version of every browser required a separate copy of the page, and the cache was hardly ever used.

Once the rule was removed, the response time went from about 1.2 seconds to about 0.12. In the admin panel the plugin was listed as active even before, so the check has to be done on the response headers, loading the page twice:

curl -sI https://www.esempio.it/ | grep -i -E "cache|vary"

The second request should show an entry such as x-litespeed-cache: hit, x-cache: HIT or cf-cache-status: HIT, depending on the system.

3. Too many requests, including to files that do not exist

Every stylesheet, script, font or icon is one more request. The home page made 57. One of them looked, on every page, for a script that no longer existed and got a 404 error.

By merging and minifying the stylesheets, minifying the scripts, removing the request to the missing file and loading the form code only on the pages that contain a form, requests went down to 30. In the Network tab the filter status-code:404 isolates the missing files. When the same error appears on every page, the source is usually a removed plugin or an old theme customisation.

4. Plugins and leftovers no longer in use

An active plugin can load scripts and styles on every page, even where they are not needed. An uninstalled one can leave its data in the database. In this case there were still the tables and settings of a slider and of a “coming soon” page plugin, along with revisions, temporary data and security logs. After the clean-up the database went from 8.7 to 3.6 MB.

On its own, this reduction has little effect on loading times. The options that WordPress loads on every page matter more (those with autoload), because a few megabytes saved there by a plugin slow down every visit. Query Monitor, a free plugin, shows how many queries a page runs, how long they take and which component requests them.

5. Hosting and PHP version

If the server response is still slow after these steps, the limit may be the hosting or the PHP version. Versions from 8 onwards are faster than the 7 series, which stopped receiving security updates some time ago.

In the file .htaccess there was a block left by a previous hosting provider that requested PHP 7.1. Lines like those can force an old version even if the hosting panel shows a recent one. The version in use is listed under Tools → Site Health → Info → Server.

In what order to act

The heaviest file comes first, because it usually brings the biggest improvement with the least work. Next come checking the cache, reducing the requests and fixing the 404s. Cleaning up plugins and database requires a backup and a test copy. Changing hosting comes last: it is the most expensive step and, on a website that has not been optimised, it moves the problem to a more powerful server.

Not every website needs this work. For a website with a few pages and few visits, image compression and a well-configured cache may be enough.

The work behind an analysis

Every change can affect other pages: merging scripts can break a form, a cache that covers too much can show old data, removing a plugin can make content disappear. For this reason I work on a complete copy of the website and, before and after each change, I measure weight, requests, times and JavaScript errors with a set of scripts. I use AI assistants to read the results and prepare the fixes, which I check before publishing.

The performance check is part of WordPress consulting, together with security and technical SEO: an analysis, a list of actions in order of priority and, on request, their implementation. When the website needs to be redesigned, the reference is the page about custom websites.

An initial assessment through the page Contact only requires the website address and a description of the problem.