Title: Conflict With Litespeed Cache Plugin (Loader Loop)
Last modified: November 21, 2021

---

# Conflict With Litespeed Cache Plugin (Loader Loop)

 *  Resolved [وندا نوژن](https://wordpress.org/support/users/vandanojan/)
 * (@vandanojan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/)
 * Hi,
    I am having an issue with LoftLoader that has been recently reported by 
   some others. The problem is that the loader gets stuck in an infinite loop, unless
   the user starts to interact or the whole content has been fully loaded (though
   I have set the max time at 5 seconds). This problem has been appearing on a [website](https://charmeshiz.com/)
   which is using a combination of Litespeed Cache and WP Meteor plugins, so that
   the former just minifies JS files while the latter delays scripts. I excluded
   LoftLoader JS files path in both plugins (`/wp-content/plugins/loftloader/assets/
   js/(.*).js`) and cleared the cache, but this failed to solve the issue. so would
   you mind helping me find a solution? Thanks in advance.
    -  This topic was modified 4 years, 6 months ago by [وندا نوژن](https://wordpress.org/support/users/vandanojan/).
    -  This topic was modified 4 years, 6 months ago by [وندا نوژن](https://wordpress.org/support/users/vandanojan/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [loftocean](https://wordpress.org/support/users/loftocean/)
 * (@loftocean)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15101813)
 * Hi [@vandanojan](https://wordpress.org/support/users/vandanojan/) ,
 * Thank you for contacting us.
 * Could you please share your website URL, so that I can check it for you?
 * Thank you very much.
 * Best regards,
    The Loft.Ocean Team
 *  Thread Starter [وندا نوژن](https://wordpress.org/support/users/vandanojan/)
 * (@vandanojan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102036)
 * Thank you [@loftocean](https://wordpress.org/support/users/loftocean/) for your
   response. I’d already mentioned the website url above, but again you can check
   it out from [HERE](https://charmeshiz.com). It’s better to simulate a slow internet
   connection for testing.
 *  Plugin Author [loftocean](https://wordpress.org/support/users/loftocean/)
 * (@loftocean)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102143)
 * Hi [@vandanojan](https://wordpress.org/support/users/vandanojan/) ,
 * Thank you for your reply.
 * I checked your website and tested the plugins mentioned on our testing site. 
   Please put the keyword “loftloader” to the exclusion text field and enable the
   option “Exclude scripts matching regexp from optimization”, then the loader will
   work properly. Please see the screenshot for details: [https://d.pr/i/F9qLOd](https://d.pr/i/F9qLOd)
 * Thank you very much.
 * Best regards,
    The Loft.Ocean Team
 *  Thread Starter [وندا نوژن](https://wordpress.org/support/users/vandanojan/)
 * (@vandanojan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102251)
 * Thanks [@loftocean](https://wordpress.org/support/users/loftocean/)
    I excluded
   LoftLoader from WP Meteor, but the problem now is that its loading gets over 
   soon when the rest scripts have not yet been executed and the slider is being
   lazy loaded. So there is kind of Flash of Unstyled Content (FOUC) that by LoftLoader
   I was to hide, but now I fail to do. To get my point, please check the url again.
    -  This reply was modified 4 years, 6 months ago by [وندا نوژن](https://wordpress.org/support/users/vandanojan/).
    -  This reply was modified 4 years, 6 months ago by [وندا نوژن](https://wordpress.org/support/users/vandanojan/).
 *  Plugin Author [loftocean](https://wordpress.org/support/users/loftocean/)
 * (@loftocean)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102287)
 * Hi [@vandanojan](https://wordpress.org/support/users/vandanojan/) ,
 * Thank you for your reply.
 * Because you have optimized the loading process of the assets on your website,
   the CSS related code has been deferred and loaded by JavaScript. But for browser,
   the loading process is completed ( although the JavaScript is trying to load 
   CSS, images … ), so the loader stops displaying.
 * The pro version has a feature “Minimum Load Time”, by using this feature you 
   can set a minimal time to show the loader during the page loading process. You
   may like to check the [online documentation](https://loftocean.com/doc/loftloader/minimum-load-time/control-minimum-load-time/?from_search=1)
   for details.
 * However, I think the best solution for your website is to find out the cause 
   of FOUC and then fix it.
 * Thank you very much.
 * Best regards,
    The Loft.Ocean Team
 *  Thread Starter [وندا نوژن](https://wordpress.org/support/users/vandanojan/)
 * (@vandanojan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102357)
 * Thank you for your time. I’ll try to do so.
    All the best
 *  Thread Starter [وندا نوژن](https://wordpress.org/support/users/vandanojan/)
 * (@vandanojan)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102538)
 * The slider was using a jQuery plugin named Owl Carousel. I just amended `owl.
   carousel.js`code and changed the value of `lazyload` to `false`.
    So seems that
   the FOUC problem has been resolved for the time being. [@loftocean](https://wordpress.org/support/users/loftocean/)
    -  This reply was modified 4 years, 6 months ago by [وندا نوژن](https://wordpress.org/support/users/vandanojan/).
    -  This reply was modified 4 years, 6 months ago by [وندا نوژن](https://wordpress.org/support/users/vandanojan/).
 *  Plugin Author [loftocean](https://wordpress.org/support/users/loftocean/)
 * (@loftocean)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102900)
 * Hi [@vandanojan](https://wordpress.org/support/users/vandanojan/) ,
 * Glad to hear that.
 * Best regards,
    The Loft.Ocean Team

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Conflict With Litespeed Cache Plugin (Loader Loop)’ is closed to new 
replies.

 * ![](https://ps.w.org/loftloader/assets/icon-256x256.png?rev=1361628)
 * [LoftLoader](https://wordpress.org/plugins/loftloader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loftloader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loftloader/)
 * [Active Topics](https://wordpress.org/support/plugin/loftloader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loftloader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loftloader/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [loftocean](https://wordpress.org/support/users/loftocean/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/conflict-with-litespeed-cache-plugin-loader-loop/#post-15102900)
 * Status: resolved