Braysons Host logo
Order NowGet Started Free
Troubleshooting

How to Fix a Slow-Loading Website

Diagnose and fix slow website loading times with caching, image optimisation, and database cleanup — without changing your hosting plan.

7 min read
Updated 18 August 2026

Fixing a Slow-Loading Website

A slow website loses visitors and ranks lower in Google. Here is a systematic approach to diagnosing and fixing speed issues.

Step 1 — Measure Your Current Speed

Use these free tools to get a baseline:

  • Google PageSpeed Insights (pagespeed.web.dev)
  • GTmetrix (gtmetrix.com)
  • Pingdom (tools.pingdom.com)

Run tests from a Nairobi or Johannesburg server for accurate local results.

Step 2 — Enable Caching

For WordPress — Install WP Super Cache or W3 Total Cache:
  1. WordPress admin → Plugins → Add New
  2. Search for "WP Super Cache"
  3. Install and activate
  4. Go to Settings → WP Super Cache → Enable Caching → Update Status

For non-WordPress sites — Enable cPanel Caching:
  1. cPanel → Software → LiteSpeed Web Cache Manager
  2. Enable LiteSpeed Cache

Step 3 — Optimise Images

Large images are the #1 cause of slow websites.

For WordPress:
  1. Install Smush or ShortPixel plugin
  2. Run bulk optimisation on all existing images
  3. Enable WebP conversion for modern browsers

For static sites:
  • Use squoosh.app to compress images before uploading
  • Target: under 200 KB per image for photos, under 50 KB for logos

Step 4 — Enable GZIP Compression

Add to your .htaccess file:

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css

AddOutputFilterByType DEFLATE application/javascript application/json

</IfModule>

Step 5 — Clean Up Your WordPress Database

  1. Install WP-Optimize plugin
  2. Run database cleanup: remove post revisions, spam comments, transients
  3. Schedule weekly automatic cleanup

Step 6 — Use a CDN

A Content Delivery Network (CDN) serves your static files from servers closer to your visitors.

Free option: Cloudflare (cloudflare.com)
  1. Sign up for free
  2. Add your domain
  3. Update nameservers to Cloudflare's nameservers
  4. Enable Auto Minify for HTML, CSS, and JavaScript

Step 7 — Upgrade PHP Version

Newer PHP versions are significantly faster.

  1. cPanel → Software → MultiPHP Manager
  2. Switch to PHP 8.2 (fastest current version)
  3. Test your site for compatibility
Tags:slow websiteperformancecachingoptimisation

Still need help?

Our Kenyan support team is on WhatsApp — real people, not bots. We respond in under 15 minutes.

WhatsApp Us
Braysons Host — Kenyan Hosting with WhatsApp Support