Wordpress LScache Plugin: Litespeed blocking Divi contact form with conditional logic
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi Team, After the latest update of Litespeed we are now having an issue with our Divi contact form not loading correctly. We use conditional logic which allows customers to select a message topic then display fields to complete depending on that topic. When I visit the contact page it loads with the initial dropdown selection box as normal, but when a message topic is selected instead of showing the appropriate fields it now loads nothing. However if I press the Send Now botton on the contact form it loads the prompt to fill out the correct fields then I am able to progress through sending an email as normal. I have drilled into some problem solving and deactiviate the Litespeed Cache plugin makes the contact form begin working again as expected. I have tried reducing TTL and ESI in cache settings to see if this fixes triggers anything but nothing seems to work apart from plugin deactivation. I have also attempted to find issues enabling debug with logs, although nothing seems to jump out as an issue with another conflicting plugin or the Divi form itself (but that doesnt mean there is not). We are hosting this site on a cPanel WordPress focused environment with good resources allocated. We are hosting using php version 7.2. I have kept Woocommerce at version 3.9.1 as I am waiting until all plugins are compatible before upgrading to 4.1. WP is version 5.1.5 I have sent our environment report to you and the Report Number is: SZOCWUDC Thank you Hi again, A quick update: If I turn off the JS Combine in the page optimization settings the contact form works on desktop size screens, but still does not begin working on screens less than 980px until I deactivate Litespeed. Could this be fixed with an ESI or is it possible there something else more sinister going on in the code? Regards Hi, If you disable JS combine and JS minify , does it work on desktop and less-than-980px device ? Best regards, Hi there, thank you for your response. Yes it does. Although what appears to happen (as it did just now when tested again) is that once I switch JScombine off then back on again and Purge All, it begins working on all devices. However this happens only for a while then randomly stops working weeks or months later. The challenge for me as a really time challenged small biz owner is that I dont often know when the phone/tablet form stops working again until we get a heads up from a customer. Its all very random. I can get a customer email us saying its not working on their iPhone, but then I test on my phone, an android tablet and our iPhone I discover it its still working for us. Its obviously hit and miss with JS firing order conflicts. Does this mean the only reliable solution (without custom coding the complete DIVI JS firing order) is to keep JS combine and JS minify permanently disabled in Litespeed? Thanks for your time and help. Hi, If disable JS combine/minify fix it , then means one or few files need to be excluded from being optimized. You can try add the ones in divi directory from JS optimize , and see how it goes. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference