Why Your LiteSpeed Cache Isn't Working: A Troubleshooting Guide
Content
Is LiteSpeed Cache Causing Issues on Your Site? Here's How to Find Out and Fix It
Many WordPress users rely on LiteSpeed Cache for its powerful optimization features. However, like any complex plugin, it can sometimes conflict with other elements of your site, causing unexpected behavior. Based on common issues reported by users, this guide will help you diagnose and resolve the most frequent problems.
Common Symptoms of LiteSpeed Cache Issues
Users often report problems such as:
- A blank "LSCache is not supported" message on the cache settings page.
- Specific site features breaking (e.g., booking calendars, 'Load More' buttons, comment forms pre-filled with another user's data).
- Site styles appearing broken or incorrect.
- The cache not clearing properly, even after disabling the plugin.
- New scripts or code changes from a child theme's
functions.phpnot appearing on cached pages.
Step 1: Confirm LiteSpeed Cache is the Source
Before making complex changes, your first step should always be to confirm that LiteSpeed Cache is actually the source of the problem. The official LiteSpeed Cache documentation provides a simple method for this:
- Navigate to LiteSpeed Cache > Toolbox > Debug Settings.
- Set Disable All Features to ON.
- Visit the page where you are experiencing the issue.
Is the problem gone? Then the issue is likely related to the LiteSpeed Cache plugin's configuration.
Are you still having the problem? Then the issue is probably not caused by LiteSpeed Cache, and you should investigate other plugins or your theme.
Step 2: Basic Troubleshooting Steps
If you've confirmed LiteSpeed Cache is involved, try these common fixes:
1. Purge All Caches Thoroughly
Sometimes, a simple purge isn't enough. Go to LiteSpeed Cache > Toolbox and use the Purge All function. If you are using a Content Delivery Network (CDN) like Ezoic, remember you must purge its cache separately for changes to take effect.
2. Check for Server-Level Support
The plugin requires a LiteSpeed web server to function fully. If you see a message like "LSCache is not supported," you must verify your hosting environment. Use a tool like check.lscache.io or contact your hosting provider to confirm that LiteSpeed Enterprise or OpenLiteSpeed is running on your server.
3. Identify and Isolate Conflicts
Conflicts with other plugins or your theme (like Divi Builder) are a very common cause of issues.
- Disable other plugins: Temporarily deactivate all other plugins except LiteSpeed Cache. If the problem resolves, reactivate your plugins one by one to identify the culprit.
- Switch to a default theme: Temporarily switch to a WordPress default theme (like Twenty Twenty-Four) to see if the problem is caused by your current theme.
4. Manage Cache TTL for Dynamic Elements
Features that rely on AJAX, like 'Load More' buttons or post like counts, can break if the cache doesn't expire quickly enough. If a nonce (a security token) is disappearing after cache is generated, try reducing the Time-To-Live (TTL) for the specific page or post type to a shorter period (e.g., less than 8 hours) to ensure dynamic elements update properly.
Step 3: Advanced Configuration Checks
If basic steps don't work, delve into these specific settings:
Object Cache Groups
If you are using Object Caching (e.g., with Redis) and a plugin like FacetWP stops updating, you may need to exclude certain WordPress object cache groups. Identifying the correct groups often requires consulting the documentation of the plugin that is malfunctioning.
ESI and User-Specific Caching
For sites with logged-in users, ensure settings like Cache Logged-in Users or ESI are configured correctly. Note that ESI is not available on OpenLiteSpeed (OLS), only on LiteSpeed Enterprise Server (LSWS).
Exclusions
Use the Do Not Cache rules in the plugin's settings to exclude specific pages, cookies, or user agents that are causing problems. This is often the best solution for pages containing highly dynamic elements like booking calendars.
When All Else Fails: Generate a Report
For deeper, more technical issues, the LiteSpeed Cache team often requests a report number to investigate. You can generate this by:
- Going to LiteSpeed Cache > Toolbox > Report.
- Clicking Send to LiteSpeed.
- Providing the generated 8-character code (e.g.,
HTJJDPMZ) when seeking help from the community.
By methodically working through these steps, you can usually identify and resolve the conflict causing LiteSpeed Cache to misbehave on your WordPress site.
Related Support Threads Support
-
Dectivation problemhttps://wordpress.org/support/topic/dectivation-problem/
-
LS Cache broken my sitehttps://wordpress.org/support/topic/ls-cache-broken-my-site/
-
Post Like Counts not working with LSC plugin activatedhttps://wordpress.org/support/topic/post-like-counts-not-working-with-lsc-plugin-activated/
-
How to do complete uninstall for multisite?https://wordpress.org/support/topic/how-to-do-complete-uninstall-for-multisite/
-
An old image appears when LSCP is active, purging no helphttps://wordpress.org/support/topic/an-old-image-appears-when-lscp-is-active-purging-no-help/
-
LSCache is not supportedhttps://wordpress.org/support/topic/lscache-is-not-supported-5/
-
Divi Builder – Blog Page not showing – LS errorhttps://wordpress.org/support/topic/divi-builder-blog-page-not-showing-ls-error/
-
LSCWP writes rules to subdir .htaccess; root isn’t cachedhttps://wordpress.org/support/topic/lscwp-writes-rules-to-subdir-htaccess-root-isnt-cached/
-
TutorLMS + LSC issue with user being logged outhttps://wordpress.org/support/topic/tutorlms-lsc-issue-with-user-being-logged-out/
-
How to delete the gravatar cache from the database LsCachehttps://wordpress.org/support/topic/how-to-delete-the-gravatar-cache-from-the-database-lscache/
-
Version 6.52 LSCache causes problems, it is worth going back to 6.51https://wordpress.org/support/topic/version-6-52-lscache-causes-problems-it-is-worth-going-back-to-6-51/
-
Issues with LS + LSCache + Divihttps://wordpress.org/support/topic/issues-with-ls-lscache-divi/
-
LSCWP Databasehttps://wordpress.org/support/topic/lscwp-database/
-
LSC caches pages w/o considering new scripts from child theme’s functions.phphttps://wordpress.org/support/topic/lsc-caches-pages-w-o-considering-new-scripts-from-child-themes-functions-php/
-
LSCache is not supportedhttps://wordpress.org/support/topic/lscache-is-not-supported-7/
-
lscache need wp_login action?https://wordpress.org/support/topic/lscache-need-wp_login-action/
-
LSCache plugin issuehttps://wordpress.org/support/topic/lscache-plugin-issue/
-
Booking calendar not appearinghttps://wordpress.org/support/topic/booking-calendar-not-appearing/
-
LSCache causing Conflict with a pluginhttps://wordpress.org/support/topic/lscache-causing-conflict-with-a-plugin/
-
LSC is not working with the ajax load more buttonhttps://wordpress.org/support/topic/lsc-is-not-working-with-the-ajax-load-more-button/
-
?LSCWP_CTRL=before_optm is simply stripped, does nothinghttps://wordpress.org/support/topic/lscwp_ctrlbefore_optm-is-simply-stripped-does-nothing/
-
Disabling cache in LSCache plugin does not clear cachehttps://wordpress.org/support/topic/disabling-cache-in-lscache-plugin-does-not-clear-cache/
-
LSCache is not supportedhttps://wordpress.org/support/topic/lscache-is-not-supported-6/
-
Which features are not available in OLS?https://wordpress.org/support/topic/which-features-are-not-available-in-ols/
-
Plugin leaves last commenter name/emailhttps://wordpress.org/support/topic/plugin-leaves-last-commenter-name-email/
-
Can’t share on flipboardhttps://wordpress.org/support/topic/cant-share-on-flipboard/
-
How to identify object cache groupshttps://wordpress.org/support/topic/how-to-identify-object-cache-groups/
-
Conflict with Spectra when user is logged-inhttps://wordpress.org/support/topic/conflict-with-spectra-when-user-is-logged-in/
-
LS no caching pageshttps://wordpress.org/support/topic/ls-no-caching-pages/
-
LSC Not Working After Server Migrationhttps://wordpress.org/support/topic/lsc-not-working-after-server-migration/
-
LSCache runs processes that render my page 503 unavailablehttps://wordpress.org/support/topic/lscache-runs-processes-that-render-my-page-503-unavailable/