How to Speed Up WordPress: 20 Practical Tips

20 min WordPress

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

  1. GZIP compression — enable on server
  2. DNS prefetch — preload critical CDN domains
  3. Critical CSS — inline in HTML
  4. Fonts — use system or prefetch
  5. Video — host on Vimeo/YouTube
  6. Database — optimize queries with Query Monitor
  7. HTTP/2 — enable on hosting
  8. SSL — use HTTP/2
  9. Monitoring — check PageSpeed Insights regularly
  10. Browser cache — max-age = 1 year for static

Check Results

After optimization check:

Site speed affects conversion. Each second of delay = 7% sales loss.