The Ideal LiteSpeed Cache Settings + CDN

The Ideal LiteSpeed Cache Settings + CDN (2021)

In this guide, we’re configuring LiteSpeed Cache + 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’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 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.

  1. General settings → request domain key.
  2. Link to after enabling CDN.
  3. General settings → guest mode → On.
  4. General settings → enter your server’s IP address.
  5. Cache → disable cache logged-in users + commenters.
  6. Cache → enable cache mobile if you’re using guest mode.
  7. Cache → object → Enable memcached or redis (I like redis).
  8. Cache → object → disabled cache wp-admin (you can test this).
  9. Activate redis or memcached extension in cPanel (see instructions).
  10. Cache → browser → browser cache → On.
  11. CDN → CDN → On.
  12. Sign up for and login to dashboard.
  13. dashboard → CDN → enable CDN.
  14. Use CNAME record for setting up
  15. Copy address provided by
  16. Login to cPanel → Zone Editor → Manage.
  17. Change www domain record to address.
  18. Enable static cache + QUIC Backend in
  19. Test to make sure it’s working and test results.
  20. Image optimization summary → do this after configuring settings.
  21. Image optimization settings → auto request cron → On.
  22. Image optimization settings → optimize losslessly → On.
  23. Image optimization settings → preserve EXIF/XMP data → Off.
  24. Image optimization settings → image WebP replacement → On.
  25. Image optimization settings → WebP for extra srcset → On.
  26. Page optimization → minify HTML, CSS, JS → On.
  27. Page optimization → load CSS asynchronously → test.
  28. Page optimization → load JS deferred



This article was written by Tom Dupuis and originally published on Tom Dupuis.

Disclosure: Some of the links in this post are "affiliate links." This means if you click on the link and purchase the product, We may receive an affiliate commission.

Leave a Comment

Your email address will not be published. Required fields are marked *

Show Your ❤️ Love! Like Us
Scroll to Top