Improving WordPress Performance
A slow WordPress site loses visitors and ranks lower in search results. Here are the key optimisations.
1. Use a Caching Plugin
- LiteSpeed Cache — best if your server uses LiteSpeed (ask support)
- W3 Total Cache — works with all servers
- WP Super Cache — simple and effective
Configure to enable:
- Page caching
- Browser caching
- Minify HTML/CSS/JS
2. Optimise Images
Large images are the #1 cause of slow load times.
- Install Smush or ShortPixel to compress images automatically.
- Use WebP format for best compression.
- Set image dimensions in WordPress to avoid serving oversized images.
3. Use a CDN (Content Delivery Network)
A CDN serves static files (images, CSS, JS) from servers closer to your visitors.
- Cloudflare — free tier is excellent; easy to set up (see DNS guide).
- BunnyCDN — very affordable and fast.
4. Keep WordPress, Plugins, and Themes Updated
Updates include performance improvements. Enable auto-updates for minor versions.
5. Remove Unused Plugins and Themes
Every inactive plugin and theme still loads code. Delete anything you don't need.
6. Optimise the Database
Install WP-Optimize or run in phpMyAdmin:
OPTIMIZE TABLE wp_posts, wp_postmeta, wp_options, wp_comments;
7. Enable PHP OPcache
Check with support if OPcache is enabled. It caches compiled PHP code and dramatically improves performance.
8. Use PHP 8.2 or 8.3
Newer PHP versions are significantly faster than PHP 7.x. Switch in DirectAdmin → PHP Configuration.
Measuring Performance
- PageSpeed Insights — Google's tool
- GTmetrix — detailed waterfall analysis
- WebPageTest — real browser tests