All posts
WordPressWeb Development

How to Speed Up a Slow WordPress Site: 12 Fixes That Work

A practical checklist to speed up a slow WordPress site: measure first, then fix hosting, caching, images, plugins, fonts, scripts and the database.

Rajibul AlamRajibul Alam · 6 min read
How to speed up a slow WordPress site
On this page 16 sections
  1. Why is my WordPress site so slow?
  2. Fix 1: Measure before you change anything
  3. Fix 2: Use good hosting
  4. Fix 3: Turn on page caching
  5. Fix 4: Compress and resize images
  6. Fix 5: Remove plugins you don’t need
  7. Fix 6: Use a lighter theme
  8. Fix 7: Update PHP
  9. Fix 8: Reduce third-party scripts
  10. Fix 9: Optimize fonts
  11. Fix 10: Minify and defer CSS and JavaScript
  12. Fix 11: Clean the database
  13. Fix 12: Use a CDN
  14. What order should I do these fixes in?
  15. Frequently asked questions
  16. Final thoughts

To speed up a slow WordPress site, first measure it, then fix the biggest problems in this order: hosting, page caching, images, heavy plugins and themes, unused scripts and fonts, the database, and a CDN. Re-test after every change so you know what actually helped.

Most slow WordPress sites aren’t slow because of WordPress itself. They’re slow because of what’s been added on top: big images, page builders, too many plugins, and cheap hosting.

Here are the 12 fixes I use, one by one.

Why is my WordPress site so slow?

The most common causes are:

  • slow or overloaded hosting
  • no page caching
  • large, uncompressed images
  • heavy themes or page builders
  • too many plugins (or a few badly built ones)
  • lots of third-party scripts (chat widgets, trackers, ads)
  • an old PHP version
  • a bloated database

You don’t need to fix everything at once. Start with whatever your test shows is the biggest problem.

Fix 1: Measure before you change anything

Test your important pages (not only the home page) with:

  • Google PageSpeed Insights: shows Core Web Vitals and suggestions
  • GTmetrix or WebPageTest: shows a waterfall of what loads and how long it takes

Write down your scores and load times. You’ll compare them after each fix.

Check it: look at LCP (Largest Contentful Paint), INP (Interaction to Next Paint) and CLS (Cumulative Layout Shift). These are Google’s Core Web Vitals.

Fix 2: Use good hosting

If your server is slow, nothing else fully fixes it. Signs of a hosting problem:

  • high TTFB (Time to First Byte), even on simple pages
  • the site slows down at busy times
  • the admin dashboard is also slow

Good managed WordPress hosting or a well-set-up VPS often makes the biggest single difference.

Fix 3: Turn on page caching

Page caching saves a ready-made copy of each page, so WordPress doesn’t build it from scratch for every visitor.

Options:

  • your host’s built-in caching (check this first)
  • a caching plugin like WP Rocket, LiteSpeed Cache (on LiteSpeed servers) or W3 Total Cache

Use one caching solution, not several at once.

Fix 4: Compress and resize images

Images are often the heaviest part of a page.

  1. Resize images to the size they’re actually shown at.
  2. Use modern formats like WebP or AVIF.
  3. Compress them (an image optimization plugin can do this automatically).
  4. Lazy-load images below the fold. WordPress does this by default for most images.

Don’t lazy-load the main image at the top of the page. That can make LCP worse.

Fix 5: Remove plugins you don’t need

Go through your plugin list and ask for each one: “Do I really need this?”

  • Delete plugins you don’t use (deactivated plugins can still be a security risk).
  • Replace heavy plugins with lighter ones that do the same job.
  • Watch out for plugins that load scripts on every page even when they’re only used on one.

Fix 6: Use a lighter theme

Some themes and page builders add a lot of CSS and JavaScript. A lightweight theme (for example GeneratePress, Kadence, Astra or a block theme) can make a big difference.

Changing themes is a bigger job, so test on a staging site first.

Fix 7: Update PHP

Newer PHP versions are faster and more secure. Check your PHP version in your hosting panel, and update to a version your theme and plugins support.

Check it: take a backup first, then test the site after updating.

If anything breaks after an update, my guide on fixing the WordPress critical error can help you find the cause.

Fix 8: Reduce third-party scripts

Every chat widget, tracking script, font service, map and social embed adds requests.

  • Remove scripts you don’t use anymore.
  • Load non-essential scripts later (delay them until user interaction).
  • Use a simple image with a link instead of a heavy embed when possible.

Fix 9: Optimize fonts

  • Use fewer font families and weights.
  • Host fonts on your own site instead of loading them from a third-party service.
  • Use font-display: swap so text shows while fonts load.
  • Preload only the main font file you use above the fold.

Fix 10: Minify and defer CSS and JavaScript

Most caching plugins can:

  • minify CSS and JS
  • remove unused CSS
  • defer or delay JavaScript

Turn these on one at a time and check the site after each change. These settings are powerful but can break layouts or features.

Fix 11: Clean the database

Over time, the database fills with:

  • old post revisions
  • spam and trashed comments
  • expired transients
  • leftover tables from deleted plugins

A plugin like WP-Optimize can clean most of this. Take a backup first.

You can also limit revisions by adding this line to wp-config.php:

define( 'WP_POST_REVISIONS', 10 );

Fix 12: Use a CDN

A CDN (Content Delivery Network) serves your files from servers close to your visitors. Cloudflare’s free plan is a popular starting point. It also adds security features.

What order should I do these fixes in?

If you’re short on time, do this:

  1. Measure (Fix 1)
  2. Caching (Fix 3)
  3. Images (Fix 4)
  4. Remove unused plugins (Fix 5)
  5. Third-party scripts (Fix 8)
  6. Re-test

Then decide whether hosting or theme changes are needed.

[ADD YOUR EXAMPLE: a before/after result from a site you’ve optimized, with real numbers only]

Frequently asked questions

How fast should a WordPress site be?

Aim to pass Core Web Vitals. Google’s “good” thresholds are an LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less.

Do too many plugins slow down WordPress?

It’s less about the number and more about what each plugin does. One heavy plugin can slow a site more than ten light ones.

Is a page builder bad for speed?

Page builders usually add extra code. They can still be fast with good setup, but a lightweight theme with the block editor is often faster.

Will a CDN fix a slow site by itself?

No. A CDN helps deliver files faster, but it won’t fix slow hosting, heavy pages or a slow database.

Final thoughts

Speeding up WordPress is about removing weight and fixing the biggest bottleneck first. Measure, change one thing, re-test, and repeat.

If you’re weighing WordPress against other options, read WordPress vs Astro. For more guides, visit my Technology & Development topic.

Share this post
Keep reading

More posts

Artificial Intelligence

AI যুগে প্রোগ্রামিং ক্যারিয়ার: জুনিয়র ডেভেলপারের ভবিষ্যৎ আর নতুন ২টা রোল

AI কি জুনিয়র ডেভেলপারের চাকরি নিয়ে নিচ্ছে? কী বদলেছে, Forward Deployed Engineer আর GTM Engineer কী, আর এখনই শেখার মতো ৩টা স্কিল, সহজ বাংলায়।

Read
Join the newsletter

Learn, Build, and Grow with me.

Get new videos, articles, and practical lessons on web development, freelancing, productivity, and personal growth, straight to your inbox.

  • Practical web development & freelancing tips
  • Productivity and personal growth ideas
  • New videos and articles, as soon as they’re out

Subscribe for free

Enter your details below and I’ll send you the latest videos and articles.

Thanks for joining! Please check your inbox to confirm.

No spam. Unsubscribe anytime.