Mobile Menu dont work when delay Js




Wordpress LScache Plugin: Mobile Menu dont work when delay Js

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I am using Astra Pro but due to some problem when i delay the Js, the Mobile hamburger menu does not work (when you clic it, do nothing). I need to exclude the mobile menu from Js optimize (I use litespeed cache). how could I exclude it? somebody has the same issue? this is the only thing about the theme that prevents me from finishing optimizing the web thank you This topic was modified 8 months ago by gimyd. The page I need help with: https://dolcepanna.com.ar To prevent malfunctions cache plugin offers to exclude scripts from being optimized. In your case script for mobile menu needs to be loaded without delay or deferred loading. To get it work again you have to exclude it. In many cases it could help reading the documentation?.. https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/#test-the-list Hello, thank you very much for your answer, but I know that you have to exclude the mobile menu, the problem is that I cant find a way to name it, that is, I cant find the name of the js file that astra uses for the mobile menu to be able to mention it in litespeed cache Hi, you can wildly use wp-content wp-includes into the exclude list first, this will tell you if its external js file , or inline js code then narrow it down progressively best regards, Hello! Thank you very much for your answer! Im still here with the problem, try adding those two directories and the problem persists, any other suggestions? The site is https://dolcepanna.com.ar and im using Astra Theme okay , that means the script in question is probably the inline js please try this disable plugin view page in your browser , go to -> view source code in source code page , search for keyword



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference