A client tells you "the site takes forever to load", PageSpeed Insights shows 30/100, or you see for yourself that the page takes 5 seconds to open. The first instinct: buy a bigger hosting plan. But in 80% of cases the problem is not the hosting, but specific things on the site itself that you can fix for free in a couple of hours. This post is a diagnostic flow of 10 steps to go through before you spend any money.
Step 1 (5 min): Measure the actual state #
A subjective "it's slow" is not enough. You need a number. Run:
- PageSpeed Insights (Google): Core Web Vitals + mobile/desktop scores
- GTmetrix: detailed waterfall, server response time
- WebPageTest: multi-location testing, video recording of the page load
Write down:
- TTFB (Time to First Byte): < 200ms is good, > 600ms is slow
- FCP (First Contentful Paint): < 1.8s
- LCP (Largest Contentful Paint): < 2.5s
- CLS (Cumulative Layout Shift): < 0.1
- INP (Interaction to Next Paint): < 200ms
- Total page weight: < 2 MB is reasonable
- Number of HTTP requests: < 80 is reasonable
Now you know exactly where it hurts: a TTFB problem (server) vs an LCP problem (images/fonts) vs a CLS problem (layout shift).
Step 2 (5 min): TTFB, a server-side problem #
If TTFB is > 600ms, the server is generating the page slowly. Possible causes:
2.1 The site is not cached #
The most common single reason. Every request goes through PHP and the database, generating the HTML every time. Fix:
- Install WP Fastest Cache
- Activate page caching
- Test again: TTFB should drop to < 100ms
2.2 wp_options table bloat #
WordPress sites with older plugin installations accumulate autoloaded options. Every page loads ALL autoloaded options from the database. Easily 50MB+ of bloat.
Check through phpMyAdmin:
- Select the database
- Run the query:
SELECT option_name, LENGTH(option_value) AS size FROM wp_options WHERE autoload='yes' ORDER BY size DESC LIMIT 20; - You see the top 20 largest autoloaded options
- If you see an old plugin you no longer use, delete its options
2.3 A slow database query #
Some plugin or custom code runs a slow join. Activate the Query Monitor plugin in WordPress to see which query takes the longest on each page.
Step 3 (10 min): Images, the biggest obvious win #
Images are 60-80% of the page weight of a typical site. If they are not optimised, the site is slow.
3.1 Format #
- Convert all JPEG/PNG to WebP: 30-50% smaller files
- For graphics with transparency: AVIF where supported
- Plugin: Imagify, ShortPixel or Smush
3.2 Size #
A typical problem: an image displayed at 800px width in the browser is loaded at 4000px width. Fix:
- Activate responsive images (WP does this automatically with
srcset) - Resize images before uploading: do not upload 5000x3000 if you display 1200x800
3.3 Lazy load #
- Images below the fold load only when the user scrolls near them
- WP 5.5+ does this automatically (the
loading="lazy"attribute) - Check that it has not been switched off by a plugin
Step 4 (5 min): Render-blocking resources #
CSS and JavaScript loaded in <head> block page rendering until they are downloaded. Check in the GTmetrix waterfall how much is render-blocking.
Fix:
- Defer non-critical JavaScript:
<script defer src="..."> - Async loading for scripts that are not interactive:
<script async src="..."> - Critical CSS inline in
<head>, lazy load the rest - Plugin: WP Rocket does this automatically
Step 5 (5 min): Fonts #
Custom Google Fonts or web fonts can add 200-500ms of latency. Fix:
- Host fonts locally instead of the Google Fonts CDN (fewer external requests)
- Use
font-display: swapin CSS, so text is shown in a fallback font while the web font loads - Preload key fonts:
<link rel="preload" as="font" href="font.woff2" type="font/woff2" crossorigin> - Minimise the number of font families + font weights (e.g. do not load 9 weights if you use 3)
Step 6 (10 min): Plugins, audit #
Every WP plugin adds load. Audit:
- Install Query Monitor
- Open a frontend page as admin
- Click the Query Monitor toolbar at the bottom → Plugins tab
- You see which plugins spend how much time
Typically, 2-3 plugins use 60-80% of the time. Consider:
- Deactivate plugins you do not use
- Replace a heavy plugin with a lighter one (e.g. Yoast → SEOPress or RankMath Lite)
- Check that there is no duplicate functionality (several caching plugins, several SEO plugins)
Step 7 (5 min): Database optimisation #
A database with a million rows in the post_meta table = slow. Fix:
- cPanel → phpMyAdmin → select the WP database
- Check the table sizes (sort by Size)
- If wp_options > 50MB → clean up autoloaded options
- If wp_postmeta > 200MB → use the WP-Optimize plugin for cleanup
- Optimise the tables: SELECT all → Operations → Optimize Table
The WP-Optimize or Advanced Database Cleaner plugins automate:
- Deleting stale transients
- Deleting stale post revisions (by default WP keeps all of them)
- Deleting spam comments, trashed pages
- Optimising tables
Step 8 (10 min): CDN #
Cloudflare CDN is free and reduces TTFB by 30-50% for global visitors:
- Sign up at cloudflare.com
- Add your domain
- Change the nameservers at your registrar to Cloudflare
- Activate "Auto Minify" for HTML, CSS, JS
- Activate "Brotli" compression
- Activate "Rocket Loader" (with a test, some sites do not support it)
Typical result: 30% less bandwidth, 50% faster TTFB for global visitors.
Step 9 (5 min): External resources #
Google Tag Manager, Facebook Pixel, Hotjar, analytics, chat widget... each adds load. Audit:
- Open Dev Tools → Network tab → filter "3rd-party"
- See which external resources you load
- Consider: GTM is 1 request, but inside GTM you can have 20 trackers
- Consider server-side tracking (Plausible, server-side GTM) instead of client-side
Step 10 (5 min): Hosting performance check #
Only after the first 9 steps, if it is still slow, check the hosting:
- cPanel → Metrics → Resource Usage: are you in the "Faults" zone?
- If you are constantly, you need a bigger plan
- If you are not, the problem is in the code/plugins, not the hosting
Extra check: run a server-side TTFB test without the site. Create an empty PHP file that returns "Hello":
<?php echo "Hello"; ?>
Open that file in the browser and measure TTFB. If it is < 100ms, the server is fast and the problem is in your code. If it is > 500ms, the problem is the server.
What to do AFTER the diagnostics #
If TTFB is > 600ms and you use a shared plan with 1000+ sites #
This is a real reason to upgrade:
- WPS, a plan on servers with fewer users
- Dedicated server
If TTFB is < 200ms but LCP is > 4s #
The server is fast, but the front end is the problem. Do not upgrade the plan. Invest in:
- Image optimisation (WebP, lazy load)
- CSS/JS optimisation (defer, async, minify)
- A custom theme refactor (maybe Elementor is too heavy)
If the site is intermittently slow (works well, then slow) #
Probably a cron job or backup process is using up CPU. Check:
- cPanel → Cron Jobs: do you have something running every minute?
- JetBackup → Scheduled: when does the backup run?
- WP-Cron: maybe a plugin has a cron task that runs too often
A worked example #
Imagine a site for which someone suggests a bigger plan:
- Old plan: 15 EUR/month
- Bigger plan (suggested): 30 EUR/month = +180 EUR/year
- The site is slow: PageSpeed 35/100
What can be done before that:
- WP Fastest Cache enabled → TTFB 800ms → 80ms
- WebP conversion of images → page weight 4.2MB → 1.8MB
- 6 unused plugins removed
- wp_options cleanup → database 95MB → 22MB
Result:
- PageSpeed 35 → 88
- The site stays on the same plan
- Saving: 180 EUR/year + a site measurably better than it would be on the bigger plan
If you want us to take a look #
Send us the page address through Urgent Repair and we will look at what is slowing it down. We do not charge for the review, and you know the cause, deadline and repair price before we start.