Performance

How to speed up your WordPress site: caching, WebP, Redis, CDN (2026)

Concrete steps to speed up WordPress: LiteSpeed cache, WebP image conversion, Redis object cache, Cloudflare CDN. Real benchmark from 3.2s to 0.6s TTFB.

Published 2026-07-15· 7 min read· Hostiger Editorial

Most WordPress sites can drop TTFB from 3+ seconds to under 1 second with 4-5 changes. This guide is what actually moves the needle, in order of impact. Everything works on any Hostiger VPS; the LiteSpeed and Redis parts come pre-configured on Hostiger Managed WordPress.

Baseline benchmark

Test at gtmetrix.com and webpagetest.org before starting. Record TTFB, LCP, and total page weight. My reference site started at:

1. Full-page caching with LiteSpeed Cache (biggest win)

If your host runs LiteSpeed (Hostiger web/WordPress hosting does), install the free LiteSpeed Cache plugin. It stores whole rendered pages so PHP+MySQL never run for cache-hit requests.

Enable in plugin settings:

Alternative on nginx/Apache: WP Rocket ($59/year), W3 Total Cache (free), or FastCGI cache at nginx level.

After LSCache: TTFB 3.2s → 0.4s

2. WebP image conversion

WebP images are 25-35% smaller than JPEG at identical quality. LiteSpeed Cache has built-in conversion under Image Optimization. For non-LiteSpeed: use ShortPixel or Imagify plugin.

Page weight: 4.1 MB → 2.6 MB

3. Redis object cache

Redis caches expensive database queries in RAM. Install on the VPS:

apt install redis-server php-redis -y
systemctl enable --now redis

Then install the Redis Object Cache plugin, activate, and click Enable Object Cache.

Complex admin pages: 4× faster

4. Enable PHP OPcache

Compiled PHP bytecode cached in RAM. Usually already on, but verify:

php -i | grep opcache.enable
# Should show: opcache.enable => On

If off, add to /etc/php/8.3/fpm/php.ini:

opcache.enable=1
opcache.memory_consumption=256
opcache.max_accelerated_files=20000
opcache.revalidate_freq=60

Then systemctl restart php8.3-fpm.

5. Cloudflare CDN (free tier is enough)

Point your DNS through Cloudflare. Enable:

Global TTFB drops 40-60% for out-of-region visitors.

Final benchmark

What we didn't cover

Advanced: HTTP/3, database query optimization with Query Monitor plugin, lazy-loading heavy plugins on non-relevant pages with Perfmatters. Diminishing returns after the 5 steps above.

Ready to try Hostiger? Deploy a VPS in under 60 seconds.

View VPS plans