Troubleshooting Common Display and Layout Issues in LiteSpeed Cache
Content
LiteSpeed Cache is a powerful optimization plugin, but its aggressive caching and optimization features can sometimes conflict with themes and page builders, leading to unexpected display problems. Based on community reports, this guide covers the most common layout issues and how to resolve them.
Common Symptoms
Users often report issues such as:
- Images not loading in sliders or galleries.
- CSS styles breaking, causing incorrect fonts, spacing, or element sizes.
- Page builder elements (like Oxygen, Elementor, or WPBakery widgets) not displaying correctly or appearing in one column.
- Visual problems that only occur when logged out or when viewing cached pages.
Why This Happens
These problems are typically not bugs, but rather side effects of how optimization works. The plugin modifies HTML, CSS, and JavaScript to improve performance. This can sometimes:
- Combine or minify files in a way that conflicts with a theme's or plugin's code.
- Serve a cached version of a page that is missing dynamically loaded elements.
- Optimize scripts that are necessary for the proper rendering of complex page builder layouts.
How to Troubleshoot
Follow these steps to identify and fix the problem. It's recommended to test after each step.
1. Generate a Report Number
Before making any changes, generate a report ID from within the plugin. This creates a snapshot of your settings which can be useful for further troubleshooting.
- Navigate to LiteSpeed Cache -> Toolbox -> Report.
- Click "Send to LiteSpeed".
- Note the 8-character report number that appears (e.g.,
IBGRLNQR).
2. Disable Optimization Features (Most Common Fix)
The most frequent cause of display issues is CSS/JS optimization. Start by temporarily turning these off.
- Go to LiteSpeed Cache -> Page Optimization.
- In the CSS Settings section, turn off CSS Minify and CSS Combine.
- In the JS Settings section, turn off JS Minify and JS Combine.
- Scroll to the top and click Purge All -> Purge All to clear the cache.
- Check your site to see if the issue is resolved.
3. Exclude Problematic Pages
If a specific page (like your homepage) is broken, you can tell the plugin not to apply certain optimizations to it.
- Go to LiteSpeed Cache -> Page Optimization -> Tuning.
- Find the UCSS Exclude URI setting.
- Add the path to the problematic page (e.g.,
/for the homepage,/product/booking/for a specific product page). - Save changes and Purge All.
4. Check ESI Settings
If users are seeing the wrong personal data (e.g., another user's cart or account info), the ESI (Edge Side Includes) feature might be misconfigured.
- Go to LiteSpeed Cache -> Cache -> ESI.
- Try turning ESI to Off.
- Save changes and Purge All.
5. Reset to Default Settings
If you're unsure which setting caused the conflict, a reset can often provide a clean slate.
- Navigate to LiteSpeed Cache -> Toolbox -> Import/Export.
- Click the "Reset to Default Settings" button.
- Reconfigure any essential settings you need and test your site.
When to Provide More Information
If the steps above do not resolve your issue, you will help others assist you by providing:
- The Report Number from the plugin.
- The exact URL where the problem occurs.
- A clear description or screenshot of what the page should look like versus what it does look like.
- Any error messages visible in the browser's console (F12 -> Console tab).
By methodically testing these common solutions, you can often resolve display issues without sacrificing the significant speed benefits that LiteSpeed Cache provides.
Related Support Threads Support
-
I want to use this plugin, but amp also gives problems but does not accept it.https://wordpress.org/support/topic/i-want-to-use-this-plugin-but-amp-also-gives-problems-but-does-not-accept-it/
-
Home Page Category Structure is Breakinghttps://wordpress.org/support/topic/home-page-category-structure-is-breaking/
-
Settings for Amelia pluginhttps://wordpress.org/support/topic/settings-for-amelia-plugin/
-
CSS styles are not working on the new created pagehttps://wordpress.org/support/topic/css-styles-are-not-working-on-the-new-created-page/
-
7.4 version crashes the websitehttps://wordpress.org/support/topic/7-4-version-crashes-the-website/
-
Please add brief parseable header comments to your drop-inshttps://wordpress.org/support/topic/please-add-brief-parseable-header-comments-to-your-drop-ins/
-
Bug spotted & reportedhttps://wordpress.org/support/topic/bug-spotted-reported/
-
Turn off php output bufferinghttps://wordpress.org/support/topic/turn-off-php-output-buffer/
-
The plugin breaks the site. How to fix it?https://wordpress.org/support/topic/the-plugin-breaks-the-site-how-to-fix-it/
-
Plugin break the homepagehttps://wordpress.org/support/topic/plugin-break-the-homepage/
-
WP Tool Barhttps://wordpress.org/support/topic/wp-tool-bar-2/
-
display problem on my sitehttps://wordpress.org/support/topic/display-problem-on-my-site/
-
Trustpilot Widget display issuehttps://wordpress.org/support/topic/trustpilot-widget-display-issue/
-
Incompatibility with Enfold themehttps://wordpress.org/support/topic/incompatibility-with-enfold-theme/
-
Aggressive preset + flatsome sliderhttps://wordpress.org/support/topic/aggressive-preset-flatsome-slider/
-
Strange issueshttps://wordpress.org/support/topic/strange-issues-2/
-
Problem with image on Facebook/Instagramhttps://wordpress.org/support/topic/problem-with-image-on-facebook-instagram/
-
Off Canvas Panel is not working proerly from Instgramhttps://wordpress.org/support/topic/off-canvas-panel-is-not-working-proerly-from-instgram/
-
Fonts not loadinghttps://wordpress.org/support/topic/fonts-not-loading-7/
-
Site Not Found Errorhttps://wordpress.org/support/topic/site-not-found-error-4/
-
Plugin caused problemhttps://wordpress.org/support/topic/plugin-caused-problem/
-
Problem with archive pages cachehttps://wordpress.org/support/topic/problem-with-archive-pages-cache/
-
Very slow first response timehttps://wordpress.org/support/topic/very-slow-first-response-time/
-
Images not visible with plugin activehttps://wordpress.org/support/topic/images-not-visible-with-plugin-active/
-
404 Not Found The resource requested could not be found on this server!https://wordpress.org/support/topic/404-not-found-the-resource-requested-could-not-be-found-on-this-server-3/
-
Page not displayed correctlyhttps://wordpress.org/support/topic/page-not-displayed-correctly/
-
Issues with iQ Block Country PlugIn?https://wordpress.org/support/topic/issues-with-iq-block-country-plugin/
-
Plugin could not be activated because it triggered a fatal error.https://wordpress.org/support/topic/plugin-could-not-be-activated-because-it-triggered-a-fatal-error-730/
-
Error loading images on pagehttps://wordpress.org/support/topic/error-loading-images-on-page/
-
Problems with the screen display on First Viewhttps://wordpress.org/support/topic/problems-with-the-screen-display-on-first-view/
-
Keeps breaking the sitehttps://wordpress.org/support/topic/keeps-breaking-the-site/
-
Request for Data Access and Processing Overview – GDPR Compliancehttps://wordpress.org/support/topic/request-for-data-access-and-processing-overview-gdpr-compliance/
-
Wrong user data displayedhttps://wordpress.org/support/topic/wrong-user-data-displayed/
-
Last update broke order pagehttps://wordpress.org/support/topic/last-update-broke-order-page/
-
yith_wcbk_booking_product_form_widget doesn’t show uphttps://wordpress.org/support/topic/yith_wcbk_booking_product_form_widget-doesnt-show-up/