WordPress Speed Optimization (Sub-1s LCP)
How to make WordPress fast — hosting, caching, images, JavaScript, and Core Web Vitals fixes that ship real gains.
Hosting Is the Foundation
Managed WordPress hosts (Rocket.net, Kinsta, WP Engine, Cloudways) beat shared hosting on TTFB, PHP version, HTTP/2 or /3, and built-in caching.
Modern PHP (8.2+) is 30–50% faster than PHP 7.x. Verify your host runs it.
Theme Choice
Lightweight themes: GeneratePress, Kadence, Blocksy, or a block theme.
Multipurpose themes (Avada, X, Newspaper) load 100+ scripts per page. Avoid for perf-critical sites.
Caching
Full-page cache: WP Rocket, LiteSpeed Cache, or built-in host cache. Non-negotiable.
Object cache: Redis or Memcached — most managed hosts enable this automatically.
Speed optimization impact
| Change | Typical LCP improvement | Difficulty |
|---|---|---|
| Move to managed hosting | -800ms to -2000ms | Low |
| Lightweight theme | -500ms to -1500ms | Medium |
| Full-page caching | -400ms to -1200ms | Low |
| Image AVIF + lazy-load | -300ms to -800ms | Low |
| Delay non-critical JS | -200ms to -600ms | Low |
| CDN | -100ms to -400ms | Low |
Images
Serve AVIF/WebP with a fallback. Compress aggressively (85% quality is usually invisible).
Native lazy-loading via loading="lazy" on all non-hero images.
Explicit width/height to eliminate CLS.
Responsive srcset via WordPress's built-in image sizes.
JavaScript Discipline
Remove unused plugins that inject JS on every page (Contact Form 7 on non-contact pages, etc.).
Delay non-critical JS until first interaction (WP Rocket, Perfmatters).
Minimize third-party scripts (chat widgets, heatmaps) — each one costs 200–800ms.
Database
Clean up post revisions (limit to 10 max).
Delete auto-drafts, spam comments, transient rows.
Optimize tables monthly (WP-Optimize, or via managed host tools).
CDN
Cloudflare (free tier is excellent) or Bunny CDN for asset delivery.
Enable Brotli compression, HTTP/3, and image resizing at the edge.
Frequently Asked Questions
Can WordPress hit sub-1s LCP?+
Yes on modern hosting + lightweight theme + aggressive caching + image optimization. Many production WordPress sites achieve 0.8–1.2s LCP.
Is WP Rocket worth it?+
For most non-LiteSpeed hosts, yes. It combines page cache, minification, lazy-load, and delay JS in one plugin with sensible defaults.
Should I use AMP?+
No. Google removed AMP requirements. AMP adds complexity without ranking benefit in 2026.
Does moving to Cloudflare improve LCP?+
Modestly (~100–300ms) via HTTP/3 + edge caching. Bigger gains come from origin-side optimization.
What's the biggest single win?+
Better hosting. Nothing else compares for TTFB improvement.