Site speed is a key ranking factor in Google. Slow sites lose visitors and search positions. This guide — 20 proven ways to speed up WordPress.
1. Choose Fast Hosting
Start with hosting. Shared hosting is slow. Choose:
- VPS with NVMe storage
- PHP 8.2+
- HTTP/3 (QUIC) support
2. Update to PHP 8.2
PHP 8.2 is 20-40% faster than PHP 7.4. Update in hosting panel.
3. Enable Caching
Main speedup — caching:
- LiteSpeed Cache (server-level)
- WP Super Cache or W3 Total Cache
- Object Cache (Redis/Memcached)
4. Optimize Images
Images are main cause of slowness:
- WebP instead of JPEG/PNG (30% smaller)
- Lazy Load
- Compress without loss
- Size — max 100KB
5. Clean Database
Over time database gets cluttered:
- Delete post revisions (keep last 3)
- Clean wp_options, wp_postmeta
- Delete spam comments
- Use WP-Optimize plugin
6. Remove Unnecessary Plugins
Each plugin = database query. Keep only:
- SEO (Yoast/RankMath)
- Caching
- Security
- Forms (Contact Form 7)
7. Use CDN
Content Delivery Network speeds up delivery:
- Cloudflare (free plan)
- Static files — CSS, JS, images
- DDoS protection included
8. Minify CSS and JS
Combine and compress files:
- Autoptimize — combine CSS/JS
- Remove unused CSS
- Defer JS loading
9. Browser Caching
Add to .htaccess:
ExpiresActive On
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
10. Disable Emoji in WordPress
WordPress always loads Emoji script. Disable:
remove_action('wp_head', 'print_emoji_detection_scripts');
remove_action('wp_print_styles', 'print_emoji_styles');
Additional Tips
- GZIP compression — enable on server
- DNS prefetch — preload critical CDN domains
- Critical CSS — inline in HTML
- Fonts — use system or prefetch
- Video — host on Vimeo/YouTube
- Database — optimize queries with Query Monitor
- HTTP/2 — enable on hosting
- SSL — use HTTP/2
- Monitoring — check PageSpeed Insights regularly
- Browser cache — max-age = 1 year for static
Check Results
After optimization check:
- PageSpeed Insights — target 90+
- Web Vitals — LCP < 2.5s
- GTmetrix — A or B grade
Site speed affects conversion. Each second of delay = 7% sales loss.