// blog

How to Speed Up Your WordPress Site: Complete Optimization Guide

August 11, 2026 · by CLIQHOST

How to Speed Up Your WordPress Site: Complete Optimization Guide

A slow WordPress site doesn't just frustrate visitors — it directly impacts your Google rankings and conversion rates. Studies consistently show that more than 53% of users abandon a page that takes longer than 3 seconds to load.

Speed is no longer a nice-to-have. In this guide, you'll find every concrete step to make your WordPress site faster, whether you're on shared cPanel hosting or a dedicated NVMe VPS.


1. Measure First, Optimize Second

You can't improve what you don't measure. Use these free tools:

  • Google PageSpeed Insights — Core Web Vitals (LCP, CLS, INP)
  • GTmetrix — detailed HTTP request waterfall
  • WebPageTest — tests from multiple geographic locations

Record your baseline: TTFB, LCP, and total page weight. After each optimization step, compare against your baseline.


2. Start With the Right Hosting

The biggest speed gains often come from infrastructure, not plugins. A WordPress-optimized hosting plan with SSD or NVMe storage dramatically reduces server response time (TTFB).

If your site handles consistent traffic or you're running a WooCommerce store, consider moving to a SSD VPS — dedicated resources, no noisy neighbours.

For high-demand projects, a dedicated server offers the ultimate performance ceiling with full resource control.

Target TTFB: under 200ms. Check it in browser DevTools (Network tab → first request → TTFB).


3. Enable a Caching Plugin

Caching is the single fastest way to speed up WordPress. Instead of dynamically generating every page on every visit, the server delivers a pre-built HTML file.

Recommended caching plugins:

Plugin Free cPanel Compatible
WP Super Cache
W3 Total Cache
LiteSpeed Cache ✅ (LiteSpeed server required)
WP Rocket ❌ (premium)

WP Super Cache quick setup:

  1. Install and activate via Plugins → Add New
  2. Go to Settings → WP Super Cache
  3. Turn Caching On
  4. Select Expert mode (mod_rewrite-based — fastest)
  5. Click Update Status

4. Optimize Your Images

Images typically account for 60–80% of a page's total weight. There are three angles of attack:

4.1 Compression

Use ShortPixel, Imagify, or Smush for automatic compression on upload. Set JPEG quality to 80–85% — the visual difference is imperceptible.

4.2 WebP Format

WebP is 25–35% smaller than JPEG at equivalent quality. ShortPixel and Imagify convert automatically. All modern browsers (Chrome, Firefox, Safari) support WebP natively.

4.3 Lazy Loading

WordPress 5.5+ applies lazy loading natively — the loading="lazy" attribute is added to all <img> tags automatically.

<!-- WordPress adds this automatically: -->
<img src="photo.jpg" loading="lazy" alt="Description" />

5. Minify and Combine CSS/JS Files

Every CSS and JavaScript file is a separate HTTP request. Minification removes whitespace and comments; combining reduces request count.

  • W3 Total CacheMinify tab: enable CSS, JS, and HTML minification
  • Autoptimize — free, dedicated plugin, easy to configure
  • WP RocketFile Optimization: minify + defer JS execution

⚠️ Warning: Combining JS files can break some plugins. Always test on a staging environment before deploying to production.


6. Enable GZIP/Brotli Compression in cPanel

Server-level compression reduces HTTP response sizes by 60–80%.

Enable via cPanel:

  1. Log into cPanel
  2. Go to Optimize Website (Software section)
  3. Select Compress All Content
  4. Click Update Settings

Or via .htaccess:

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/plain text/xml
  AddOutputFilterByType DEFLATE text/css application/javascript
  AddOutputFilterByType DEFLATE application/json application/xml
</IfModule>

Verify compression is active at GiftOfSpeed GZIP Test.


7. Set Up a CDN

A CDN stores copies of your static files (images, CSS, JS) on servers distributed globally. Each visitor downloads files from the nearest node.

Cloudflare (free plan) is the easiest starting point:
1. Create an account at cloudflare.com
2. Add your domain and update nameservers at your registrar
3. Enable the proxy (orange cloud icon) for your records
4. Set Cache Level: Standard and Browser Cache TTL: 4 hours

For WooCommerce stores with international audiences, a CDN can reduce LCP by 40–60%.


8. Clean Up the MySQL Database

WordPress stores everything in MySQL. Over time, wp_options grows bloated with post revisions, spam comments, and expired transients.

WP-Optimize plugin:

  • Deletes post revisions
  • Clears spam comments
  • Removes expired transients
  • Optimizes InnoDB tables

Manually via cPanel → phpMyAdmin:

-- Remove auto-drafts
DELETE FROM wp_posts WHERE post_status = 'auto-draft';

-- Remove all revisions
DELETE FROM wp_posts WHERE post_type = 'revision';

-- Clean expired transients
DELETE FROM wp_options WHERE option_name LIKE '%_transient_%';

⚠️ Always take a full backup before any database operations!


9. Audit Your Plugins

Every active plugin adds PHP code that runs on every request. A simple audit:

  1. Deactivate plugins one by one and measure TTFB each time
  2. Identify plugins adding more than 100ms
  3. Look for lighter alternatives or native WordPress functionality

Golden rule: If you're not actively using a plugin, deactivate it and delete it.

For detailed analysis, Query Monitor clearly shows which database queries and plugins slow down each page.


10. Upgrade PHP and Configure OPcache

PHP 8.2 or 8.3 is approximately 40% faster than PHP 7.4. Change your PHP version in cPanel → MultiPHP Manager in a few clicks.

Recommended php.ini settings for WordPress:

memory_limit = 256M
max_execution_time = 60
upload_max_filesize = 64M
post_max_size = 64M
opcache.enable = 1
opcache.memory_consumption = 128

OPcache caches compiled PHP bytecode, eliminating recompilation on every request — a significant CPU load reduction.


11. Enable HTTP/2 or HTTP/3

HTTP/2 allows request multiplexing — multiple resources delivered over a single TCP connection. All CLIQHOST plans support HTTP/2 by default.

Verify: curl -I --http2 https://yourdomain.com — the response should include HTTP/2 200.


WordPress Speed Optimization Checklist

  • [ ] PageSpeed Score > 80 (mobile)
  • [ ] TTFB < 200ms
  • [ ] Caching plugin active
  • [ ] Images compressed + WebP
  • [ ] GZIP/Brotli enabled
  • [ ] CSS/JS minified
  • [ ] CDN configured
  • [ ] Database cleaned up
  • [ ] PHP 8.2 or higher
  • [ ] OPcache enabled

Conclusion

WordPress speed optimization is an iterative process, not a one-time task. Start with the highest-impact factors — hosting, caching, and images — measure the results, then work through the rest of the checklist.

If your site has outgrown shared hosting, the CLIQHOST team can recommend the right solution: from WordPress hosting to a fully powered NVMe VPS. Browse our options or check the CLIQHOST blog for more technical guides — or get in touch directly and we'll help you find the right configuration.

SHARE
// what clients say

What Our Clients Say

Real reviews from customers who trust CLIQHOST for performance, reliability and expert technical support.

★★★★★

"We moved our online shop from a foreign host and the difference is night and day — pages load instantly and support replies in minutes, in Romanian."

AM
Andrei M.
eCommerce owner · Chișinău
★★★★★

"Migrated 12 client sites to CLIQHOST. Free migration, zero downtime, and the cPanel setup is exactly what my team needed. Highly recommend."

EV
Elena V.
Web agency · Bălți
★★★★★

"Our NVMe VPS handles traffic spikes without a sweat. Full root, local datacenter, and billing in MDL — everything we wanted from a provider."

DC
Dmitri C.
SaaS founder · Chișinău