Technically Saved Banner
LiteSpeed Logo

Litespeed Cache Optimization Settings

 

 

⚑ Ultimate LiteSpeed Cache Setup Guide for WordPress

If your site is slow, LiteSpeed Cache can help you speed it up drastically. Follow this guide to optimize settings and give the your site the speed it needs to succeed!

 

βœ… 1. General Settings

These options lay the foundation for caching and optimization.

  • Enable LiteSpeed Cache: Turns on caching system. Enabled in CPANEL on server side
  • Automatically Upgrade: Keeps the plugin updated.
  • Guest Mode / Optimization: Speeds up loading for new visitors.
LiteSpeed Cache General Settings
LiteSpeed – General

πŸ“¦ 2. Cache Settings

These control how your site content is stored and served quickly.

  • Enable Cache: Activates page caching.
  • Cache Logged-in Users: Off unless you run a membership site.
  • Cache Mobile: Essential for mobile speed.
  • Purge All On Upgrade: Clears old cache after updates.
Litespeed Cache Settings
Litespeed – Cache

πŸš€ 3. Page Optimization

Most speed improvements happen here β€” minify, combine, and load CSS/JS efficiently.

CSS Settings

  • Minify and Combine CSS for smaller page size. Personally I don’t combine css because it was breaking something on my website. Be sure to Open Toolbox and Purge all Cache after toggling this on.
  • Generate UCSS: Removes unused styles (requires QUIC.cloud). Requires CSS Combine ON.
  • Load CSS Asynchronously: Prevents blocking page load.
Litespeed CSS Settings
Litespeed – Page Optimization – CSS

JS Settings

  • Minify JS and defer load for better performance. Careful β€” may break scripts. Personally I don’t use this because it caused issues with my website.
  • Be sure to Open Toolbox and Purge all Cache after toggling this on.
Litespeed Javascript Settings
Litespeed – Page Optimization – JS

πŸ–ΌοΈ 4. Media Settings

Optimize and lazy load images to improve load times.

  • Enable Lazy Load for images and iframes. If you enable lazy load you will want to enable VPI (Viewport Images) aswell. VPI allows your website to cache and display images known to be in the initial view of the user. This way the rendering doesn’t lag and the image is shown on time to the user.
Litespeed Media Settings
Litespeed – Page Optimization – Media
  • Use QUIC.cloud for image optimization and WebP conversion.
Litespeed Image Optimization Settings
Litespeed – Image Optimization – Settings
  • Be sure to select Use Optimized Files bottom right of Image Optimization Page
Litespeed Image Optimization
Litespeed – Image Optimization

🌐 5. CDN Settings

Content Delivery Network helps deliver your site faster across the globe.

  • Enable CDN using quic.cloud, cloudflare, or other static CDN
  • Enable HTML Rewrites to rewrite asset paths. To do this you must add this code to your .htaccess file.
Litespeed htaccess File Edit
CPanel – File Manager – .htaccess location
  • Integrate with QUIC.cloud or Cloudflare. Some shared hosts may block their IP Addresses. You will know if you try to enable CDN in quiccloud and you get a 520 error on your website. BE CAREFUL – Once you get this error the only way to remove it and get back into your WordPress Site is to disable it through the QuicCloud dashboard. It will take a couple minutes to fix itself.
Litespeed QuicCloud
Litespeed – CDN

πŸ“‹ 6. Database Optimization

Clean up post revisions, transients, and other clutter.

  • Remove post revisions, drafts, and spam comments.
  • Optimize tables regularly to keep the database lean.
Litespeed Database
Litespeed – Database

πŸ”„ 7. Crawler Settings (Optional)

Preloads pages into the cache so they’re always fast, but watch server usage.

  • Enable Crawler if your host supports it. A shared host may not support this to lessen server load. To enable one must edit an apache file on server side. Follow Litespeed Doc
  • Set conservative intervals to avoid server load issues.
Litespeed Crawler
Litespeed – Crawler
Pro Tip: Test your site with tools like Google PageSpeed Insights, GTmetrix, and WebPageTest after each change.

🎯 Final Thoughts

Litespeed Purge on Upgrade
Litespeed – Cache – Purge

With LiteSpeed Cache and the right settings, your site will load faster and perform better. Don’t forget to connect to QUIC.cloud for maximum benefits like Critical CSS and CDN support!

Litespeed Toolbox
Litespeed – Toolbox
SHARE
error0
fb-share-icon0
Tweet 151
fb-share-icon20
Technically Saved Business Card IT Services
Donations & Referrals