Knowledgebase

How to configure the LiteSpeed Cache plugin for WordPress (recommended settings)

EgWeb hosting runs on LiteSpeed web servers, so the free LiteSpeed Cache plugin (LSCache) is the best way to speed up a WordPress site with us. It caches full pages at the server level, which is faster than PHP-based cache plugins. This guide gives you recommended LiteSpeed Cache settings that are safe for most sites and WooCommerce stores, and shows you how to test them so nothing breaks.

Step 1: Install the plugin and remove other cache plugins

  1. In WordPress go to Plugins → Add New, search for LiteSpeed Cache (by LiteSpeed Technologies), install and activate it.
  2. Deactivate and delete other page-cache or optimization plugins such as WP Super Cache, W3 Total Cache, WP Fastest Cache or WP Rocket. Two cache plugins together cause blank pages, old content and broken layouts.

Step 2: Start from a preset

Recent versions include ready-made presets under LiteSpeed Cache → Presets. They range from Essentials (cache only) to Extreme. Start with Basic or Advanced, apply it, and test your site. Avoid Aggressive and Extreme unless you are ready to test every page, because they combine and delay scripts in ways some themes do not support.

The plugin keeps a history of applied presets, so you can restore your previous settings from the same screen if something looks wrong.

Step 3: Check the Cache settings

Open LiteSpeed Cache → Cache. Recommended values for most sites:

SettingRecommended
Enable CacheON
Cache Logged-in UsersOFF (turn on only for membership sites after testing)
Cache CommentersON
Cache REST APION
Cache Login PageON
Cache MobileOFF, unless your theme shows different HTML on mobile

On the Purge tab, keep Purge All On Upgrade on, so the cache clears after plugin and theme updates. The default TTL values are fine for most sites.

WooCommerce: cart, checkout and My Account pages are not cached, because WooCommerce marks them as non-cacheable. You do not need to exclude them by hand.

Step 4: Page Optimization (test one change at a time)

Under LiteSpeed Cache → Page Optimization:

  • CSS Minify and JS Minify: ON. Safe on almost every site.
  • CSS Combine: try ON, then check pages. Turn off if the layout breaks.
  • JS Combine: start OFF. It is the setting most likely to break sliders, menus and page builders.
  • Load JS Deferred: try Deferred. If menus, popups or forms stop working, set it back to OFF.
  • Lazy Load Images (on the Media tab): ON. Exclude your logo and the first large image (hero) so the top of the page appears immediately.

After every change, open the site in a private window and test the menu, forms, sliders and, for a store, add to cart and checkout.

Step 5: Image optimization (optional)

Image optimization and WebP conversion use LiteSpeed's QUIC.cloud service. On the plugin's General page, link your site to QUIC.cloud, then open Image Optimization, send an optimization request and enable WebP (next-gen image) replacement. QUIC.cloud has its own free quota and terms; check them in your QUIC.cloud account. You can skip this step and compress images before uploading instead.

Step 6: Leave these alone unless support confirms

  • Crawler: it visits all pages to warm the cache and uses server resources. Leave it off unless our team confirms it is enabled for your account.
  • Object Cache (Redis or Memcached): only turn it on if the service is available for your account and the connection test in the plugin shows it as working.

Step 7: Confirm the cache works

  1. Open your site in a private window and press F12 to open the developer tools.
  2. Open the Network tab, reload, and click the first request (your page).
  3. In the response headers, look for x-litespeed-cache: hit. The first visit may show miss; reload and it should become hit.

Common problems

  • Layout broken or blank page after optimization: turn off JS Combine and Load JS Deferred, then go to Toolbox → Purge → Purge All. If the site is down, see How to fix the WordPress White Screen of Death (blank white page).
  • Changes do not show: purge the cache from the admin bar or Toolbox. If you use Cloudflare, purge it as well.
  • Cart shows wrong items: make sure no other cache plugin is active and that you did not force-cache WooCommerce pages.

Frequently asked questions

Is LiteSpeed Cache free?

Yes. The plugin is free, and page caching works on our LiteSpeed servers without extra cost. Some QUIC.cloud services have quotas.

Do I still need other speed work?

Caching helps most, but light themes, fewer plugins and small images matter too. See How to Speed Up Your WordPress Website.

Should I take a backup before changing settings?

Settings changes are easy to undo, but a backup before large changes is always a good habit. See How to back up and restore your website.

Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.

  • LiteSpeed Cache settings, LSCache WordPress, LiteSpeed Cache presets, WordPress page cache, QUIC.cloud image optimization, WooCommerce cache, افضل اعدادات LiteSpeed Cache, تسريع ووردبريس

Was this answer helpful?

0 Users Found This Useful