Wordpress LScache Plugin: javascript not working
Last Updated on: Wed, 15 Apr 2026 00:00:02 hi, our simple javascript code for contact form 7 has stopped working when litespeed caching plugin enabled sample of javascript code jQuery( #id-name ).val(prod_url) jQuery(checkbox).prop(checked, true) if I add timer function it works, like 1 or 2 seconds. I tried to move the script in different order, tried .ready and .load still didnt work. I also tried to add contact form in js exclude, change js combine exclude etc all didnt work. Thanks. Hi, if you disable all JS options , purge all , did it work ? first of all need to narrow down which option leads to trouble , and then see how to deal it Best regards, Yes, I tried all the possible options in backend. all didnt work. Also, contact form 7 has an update last night, and still didnt fix the issue. And if litespeed disabled the scripts were working, so it must be something with litespeed that break the script. Thanks again. Hi, lets try the old-fashion way then please go to toolbox -> export/import -> export your current setting , then reset to default see if it works with default , the default setting will have all optmization features off, but only keep the caching and then we can try to locate/narrow down which options that is Best regards, Just tried and didnt work. Hi, default setting didnt work ? now that is weird please check the output HTML source code with default setting and with plugin disabled , also the request list see if there is any difference in HTML code , or some request missing or something Best regards, looks fine. also happen if I rollback to previous version of litespeed, and happens to other site just so you know. Hi, please dont share it in public please remove above reply , and send it to support at litespeedtech.com with reference link to this topic Best regards, Invalid email so I had to click the button send to litespeed in toolbox report tab. Thanks again. you need to change at to @ ? Yes, I did. can you check.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference