LiteSpeed Cache Free WordPress Cache Plugin Setup Guide 2026

What Is LiteSpeed Cache and Why Is It Free Yet Better Than Many Premium Plugins?

LiteSpeed Cache (LSCWP) is a WordPress plugin developed and maintained by LiteSpeed Technologies — the same company behind LiteSpeed Web Server. The plugin is 100% free on WordPress.org yet delivers features that surpass many Freemium alternatives. LiteSpeed provides it at no cost to drive adoption of LiteSpeed Web Server among hosting providers, creating a win-win for both parties.

What sets LiteSpeed Cache apart is server-level page caching. Rather than generating cached pages through PHP, the cache is handled directly at the web server layer — making it significantly faster than PHP-based solutions like W3 Total Cache or WP Super Cache. It also bundles CSS/JS minification and combining, image optimization, WebP auto-conversion, Redis/Memcached object cache, browser cache, ESI for WooCommerce dynamic content, and CDN integration — all in a single free plugin.

Key advantages of LiteSpeed Cache: 100% free for all core features, server-level page cache faster than PHP-based alternatives, Redis object cache at no extra cost, built-in WebP auto-conversion, ESI for WooCommerce, and native integration with Cloudflare and QUIC.cloud CDN.

LiteSpeed Cache has over 5 million active installations on WordPress.org and maintains an average rating of 4.9 stars from more than 8,000 reviews — an exceptional record for a plugin in its category.

System Requirements: Hosting That Supports LiteSpeed Cache

Before installing, it helps to understand which features require specific server environments, because not every feature needs LiteSpeed Web Server.

Features Requiring LiteSpeed Web Server or OpenLiteSpeed

Features Compatible with Any Web Server (Apache, Nginx, LiteSpeed)

AsiaGB DirectAdmin hosting supports LiteSpeed Web Server, enabling server-level page cache at full capacity. To check your web server, go to DirectAdmin → Statistics → System Information.

Installing LiteSpeed Cache Step by Step

Installing LiteSpeed Cache is as straightforward as any WordPress plugin — no technical expertise required.

  1. Log in to your WordPress Admin Dashboard.
  2. Navigate to Plugins → Add New.
  3. Search for "LiteSpeed Cache".
  4. Click Install Now on the plugin by LiteSpeed Technologies.
  5. Once installed, click Activate.
  6. A setup wizard will appear — follow it to apply recommended settings.

Important: If you are running another cache plugin such as WP Rocket, W3 Total Cache, or WP Super Cache, deactivate and delete them first to prevent cache conflicts that can break page rendering.

Cache Settings — Enable Cache, TTL, Login Cookie

Core cache settings live under LiteSpeed Cache → Cache in your WordPress admin.

Cache Tab Essentials

Cache TTL (Time to Live)

The default TTL is 604,800 seconds (7 days), which suits most sites. For sites that publish new content daily, reduce it to 86,400 seconds (1 day). For rarely-changing content, you can safely increase it to 2,592,000 (30 days).

Login Cookie

If WooCommerce or a membership plugin uses a custom cookie to track login state, add that cookie name to "Login Cookies" so LiteSpeed Cache avoids caching pages for those authenticated sessions.

CSS/JS Minify and Combine Settings

Minification strips whitespace and comments from files; combining merges multiple files into one to reduce HTTP requests. Find these settings under LiteSpeed Cache → Page Optimization → CSS Settings / JS Settings.

Recommended CSS Settings

Recommended JS Settings

Caution: After enabling JS Combine, test your site thoroughly — including WooCommerce Checkout — as combining can break payment gateway scripts.

Image Optimization — WebP Auto Conversion and LazyLoad

LiteSpeed Cache offers image optimization through QUIC.cloud (free credits available monthly) as well as server-side WebP conversion and LazyLoad that work without any external service.

WebP Auto Conversion

Go to LiteSpeed Cache → Image Optimization → Image WebP Replacement and enable WebP Replacement. LiteSpeed Cache will automatically convert JPG/PNG to WebP and serve it to supporting browsers, while older browsers receive the original format. Conversion uses the server's existing ImageMagick or GD Library.

LazyLoad

Go to LiteSpeed Cache → Page Optimization → Media Settings and enable Lazy Load Images. This adds loading="lazy" to all images automatically, so browsers load only what is visible in the viewport.

Object Cache — Redis/Memcached Integration

Object Cache stores WordPress database query results, transients, and option values in Redis or Memcached so PHP does not repeat expensive operations on every request.

Setting Up Redis Object Cache

  1. Go to LiteSpeed Cache → Settings → Object Cache.
  2. Set Object Cache to ON and select Redis as the method.
  3. Enter Host (usually 127.0.0.1) and Port (default 6379).
  4. Click Test to verify the connection.
  5. If the test passes, click Save Changes.

Performance impact: Object Cache can cut TTFB dramatically on plugin-heavy sites. Many WooCommerce stores report TTFB dropping from 800 ms to under 150 ms after enabling Redis object cache.

Browser Cache and CDN Integration (Cloudflare, QUIC.cloud)

Browser Cache instructs visitors' browsers to store static assets (images, CSS, JS) locally, making repeat visits load almost instantly.

Browser Cache Settings

Go to LiteSpeed Cache → Cache → Browser Cache and turn it ON. A TTL of 2,592,000 seconds (30 days) is recommended for static assets.

Cloudflare Integration

LiteSpeed Cache can automatically purge Cloudflare's edge cache when your content changes. Go to LiteSpeed Cache → Toolbox → Network, then add your Cloudflare API Token with Zone Cache Purge (Edit) permission. Enable Auto Purge Cloudflare Cache to keep the CDN in sync with your origin.

QUIC.cloud CDN

QUIC.cloud is LiteSpeed's own CDN with native HTTP/3 and QUIC support. Connect your domain under LiteSpeed Cache → Settings → QUIC.cloud. The free tier includes 6 GB of bandwidth per month, which is sufficient for small to medium sites.

ESI (Edge Side Includes) for WooCommerce Dynamic Content

ESI allows LiteSpeed Web Server to cache an entire page while dynamically fetching small fragments — such as cart count, account menu, or wishlist — that would otherwise prevent full-page caching.

How ESI Works

Instead of bypassing the cache for pages with dynamic content, LiteSpeed Cache serves the cached page and replaces ESI tags with fresh fragments fetched in parallel. The result is a fast cached response with accurate per-user data.

Enabling ESI for WooCommerce

  1. Go to LiteSpeed Cache → Store → WooCommerce.
  2. Enable Use ESI for Cart.
  3. Enable Use ESI for Checkout.
  4. Enable Cache Add-to-Cart Fragments.

Result: WooCommerce product and shop pages can be fully cached — even for users with items in their cart — improving PageSpeed scores and reducing TTFB significantly.

LiteSpeed Cache vs WP Rocket: Feature Comparison

WP Rocket is a popular premium cache plugin priced around $59/year per site. Here is how it stacks up against the free LiteSpeed Cache.

Feature LiteSpeed Cache WP Rocket
PriceFree
Page CacheServer-level (faster)PHP-level
Object Cache (Redis)Built-in, free
CSS/JS Minify & CombineFullFull
Image OptimizationFree via QUIC.cloud
WebP ConversionFree
LazyLoadFreeFree
ESI (WooCommerce)Free (LiteSpeed Server required)Not available
CDN IntegrationCloudflare + QUIC.cloudCloudflare + RocketCDN
Ease of UseMore complex UIBeginner-friendly
SupportCommunity forumsPriority email support

Troubleshooting — Missing CSS, Images Not Loading, Login Loop

Missing CSS / Broken Layout

Usually caused by CSS Combine loading stylesheets in the wrong order. Fix: go to Page Optimization → CSS Settings, add the problematic CSS file to "CSS Excludes," or disable CSS Combine while keeping CSS Minify active.

Images Not Showing / WebP Not Working

Check whether your server's ImageMagick or GD Library has WebP support enabled. Go to LiteSpeed Cache → Image Optimization and review the Server Status section. If WebP is not supported, contact your hosting provider.

Login Loop

Go to Cache → Excludes and add /wp-login.php and /wp-admin/ to "Do Not Cache URIs." Then go to Toolbox → Purge → Purge All.

WooCommerce Cart Count Incorrect

Enable ESI as described above, or add the WooCommerce session cookie to Login Cookies so LiteSpeed Cache skips caching for sessions with items in the cart.

Need Hosting with LiteSpeed Web Server?

AsiaGB provides web hosting and VPS on LiteSpeed Web Server with DirectAdmin. Install LiteSpeed Cache and get full server-level caching immediately — no extra configuration needed.

View Hosting Plans