In this guide, we’re configuring LiteSpeed Cache + QUIC.cloud with the best settings.
If you don’t have a LiteSpeed server yet, I like NameHero’s Turbo Cloud plan which includes 3GB RAM + NVME. There’s no reason you should be using any other plugin than LiteSpeed Cache since it has excellent reviews, extensive settings, and uses faster server-level caching.
You should also be using QUIC.cloud’s CDN which is free and was built specifically to work on top of LiteSpeed. It should give you better results than Cloudflare, StackPath, and other CDNs.
Head to the quick settings if you ‘re looking for an easy setup, otherwise I’ll walk you through nearly every part of the LiteSpeed Cache settings, from Page Optimization to QUIC.cloud CDN.
- ON – enable.
- OFF – disable.
- TEST – test your own results.
- CONSUME RESOURCES – indicates the setting may consume more server resources which can lead to 5xx errors + CPU overages on shared hosting and less powerful servers.
1. Quick Settings
For a quick setup, leave all the LiteSpeed Cache settings as-is and only change the following. This setup should be fine for most WordPress sites so you don’t have to read this entire guide.
- General settings → request domain key.
- Link to QUIC.cloud after enabling QUIC.cloud CDN.
- General settings → guest mode → On.
- General settings → enter your server’s IP address.
- Cache → disable cache logged-in users + commenters.
- Cache → enable cache mobile if you’re using guest mode.
- Cache → object → Enable memcached or redis (I like redis).
- Cache → object → disabled cache wp-admin (you can test this).
- Activate redis or memcached extension in cPanel (see instructions).
- Cache → browser → browser cache → On.
- CDN → QUIC.cloud CDN → On.
- Sign up for QUIC.cloud and login to dashboard.
- QUIC.cloud dashboard → CDN → enable CDN.
- Use CNAME record for setting up QUIC.cloud.
- Copy address provided by QUIC.cloud.
- Login to cPanel → Zone Editor → Manage.
- Change www domain record to QUIC.cloud address.
- Enable static cache + QUIC Backend in QUIC.cloud.
- Test QUIC.cloud to make sure it’s working and test results.
- Image optimization summary → do this after configuring settings.
- Image optimization settings → auto request cron → On.
- Image optimization settings → optimize losslessly → On.
- Image optimization settings → preserve EXIF/XMP data → Off.
- Image optimization settings → image WebP replacement → On.
- Image optimization settings → WebP for extra srcset → On.
- Page optimization → minify HTML, CSS, JS → On.
- Page optimization → load CSS asynchronously → test.
- Page optimization → load JS deferred
This article was written by Tom Dupuis and originally published on Tom Dupuis.