Wordpress LScache Plugin: wp_localize_script not working with litespeed enabled
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, We are having an issue that when Litespeed combine inline javascript its enabled the wp_localize_script variable is not showing and the script fails We added the javascript files to exclude js list and defer list but still not showing the variable name of localize_script Is there any way to exclude localize_script from inline combine? Hi, what is the output of it when you have LSCWP disabled? Best regards, The output is var wppopups_pro_vars = nonce : cf813259d8 , enable_stats : 0 , ua_code : UA-17982061-2 , data_sampling : 0 , post_id : 1765 , l18n : wait : Var sn u00e4ll och v u00e4nta lite , seconds : sekunder Hi, please try add wppopups_pro_vars into JS exclude and defer JS exclude fields, then purge all Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference