Cart
Net 9 regions SYD 264 ms FRA 18 ms NRT 232 ms Uptime 30d 99.997 %

04 / WordPress

Speeding up WordPress with LiteSpeed Cache

The LiteSpeed Cache settings that actually move the needle, plus how to verify each one is working.

9 min read · Updated April 2026

Omega Digital's shared and reseller servers run LiteSpeed Web Server. LiteSpeed Cache (LSCWP) is the WordPress plugin that talks to it and can take a typical page load from 1.5s down to under 200ms. This article covers the configuration that delivers most of that benefit.

Step 1: Install the plugin

bash
# Via WP-CLI
wp plugin install litespeed-cache --activate

# Or: Plugins → Add New → search 'LiteSpeed Cache' → Install → Activate

Step 2: Enable the page cache

Cache → Cache → Enable Cache: ON. This is the single biggest win. Every uncached visitor now gets HTML served from disk without PHP or MySQL running.

Default TTL of 604800 seconds (7 days) is fine. Don't go lower than a day for public pages.

Step 3: Cache settings worth changing

Setting Value Why
Cache Logged-in UsersOFFEach user is different; cache storage explodes
Cache CommentersOFFCommenters see their pending comments
Cache REST APIONGutenberg and headless sites benefit
Cache Login PageONStatic login HTML, lower brute-force cost
Cache favicon.icoONFree win
Cache PHP ResourcesONCaches plugin assets like wp-includes/wlwmanifest.xml
Cache MobileON only if you have a separate mobile themeOtherwise unnecessary split

Step 4: Object cache with Redis or Memcached

Cache → Object tab. WordPress core hits MySQL constantly for options, user meta, and term queries. Object caching keeps those in memory. On Omega Digital, use Redis:

  1. 01. Method: Redis
  2. 02. Host: 127.0.0.1
  3. 03. Port: 6379
  4. 04. Default Object Lifetime: 360
  5. 05. Persistent Connection: ON
  6. 06. Save Changes. Status should flip to Connection Test Passed within seconds.
bash
# Verify from command line
wp litespeed-option get redis_host
# Expected: 127.0.0.1

wp litespeed-purge objects
wp cache get doing_it_wrong_trigger
# Should return a value if object cache is working

Step 5: Image optimization

Image → Image Optimization Settings. Enable the LiteSpeed Cloud optimization (free quota). Your images get compressed and served as WebP to supporting browsers.

  • · Auto Request Cron: ON
  • · Auto Pull Cron: ON
  • · Optimize Original Images: ON
  • · Remove Original Backups: only after verifying results for a week
  • · Preserve EXIF/XMP data: ON (for photography sites), OFF otherwise (smaller files)
  • · WebP Replacement: ON

Step 6: Page optimization (the part that breaks things)

Page Optimization is where LSCWP minifies CSS/JS, combines files, and defers loading. It also where most sites break. Turn each setting on one at a time and visually verify the site still works.

  • · CSS Minify: ON (safe)
  • · CSS Combine: test carefully (sometimes breaks themes using @import)
  • · JS Minify: ON (safe)
  • · JS Combine: test carefully (often breaks sliders and custom jQuery)
  • · JS Defer: ON (move to body bottom). Preview any page with embedded forms.
  • · Lazy Load Images: ON (huge bandwidth win)
  • · Lazy Load Iframes: ON
  • · Remove Query Strings: OFF (breaks plugin versioning)

Step 7: CDN (optional)

CDN → QUIC.cloud. LSCWP integrates with QUIC.cloud CDN for a generous free tier. If you're already using Cloudflare, leave this off. Don't double-CDN.

Verify it's working

bash
# Fetch a page and check headers
curl -sI https://yourdomain.com/ | grep -iE 'x-litespeed|cache-control|x-cache'

# You should see:
# x-litespeed-cache: hit     <-- cached!
# (Or on first request: x-litespeed-cache: miss, then hit on second)

# If you see:
# x-litespeed-cache: no-cache,cookie
# then LSCWP is seeing a logged-in cookie (or a test-cookie). Open in a private tab.

When to purge

LSCWP auto-purges when you publish or update posts. You need to purge manually only when:

  • · You update a theme file directly
  • · You change LSCWP settings
  • · You see stale content in testing
bash
# Purge everything via WP-CLI
wp litespeed-purge all

# Purge just the homepage
wp litespeed-purge url https://yourdomain.com/

Common gotchas

  • · Enabling all page-optimization settings at once. Something always breaks. Toggle one at a time with visual QA between each.
  • · Expecting cache hits when logged in. You disabled logged-in caching (correctly), so test in a private window.
  • · Combine CSS breaking animations. Combine is aggressive; fall back to Minify-only if things look off.
  • · Forgetting to exclude dynamic pages. Cart, checkout, account pages must be excluded under Cache → Excludes.

Still stuck?

Email [email protected] with the URL and a screenshot of the LSCWP dashboard.

Support

Email [email protected] with your account email and the exact error. Direct support.