litespeed cache with translatepress




Wordpress LScache Plugin: litespeed cache with translatepress

Last Updated on: Wed, 15 Apr 2026 00:00:02
hello, Im using translatepress for multilanguage sit, but when I use combine CSS/js site is fine, but when change the selector to Arabic language most of the images broke. I tried to exclude the CSS but with no luck. I wish i dont have to disable combining feature as from 142 requests to 75 is a pretty good improvement. can anyone give me a hand here, please? -for your convenience English> no errors> https://eldkan.com/ Arabic > with error> https://eldkan.com/ar/ best regards. This topic was modified 2 years, 9 months ago by mezoology. The page I need help with: http://eldkan.com Hi @mezoology, on the ar site theres a JS error which stopped the Lazyloading: Uncaught SyntaxError: Invalid regular expression: missing / Please follow this blog post to find out which JS file should be excluded. hey, thats was lotta work tbh after invistigating i found a bunch of JS that have to be execluded: js.cookie.min.js?ver=2.1.4 woocommerce.min.js?ver=3.9.1 cart-fragments.min.js?ver=3.9.1 smush-lazy-load.min.js?ver=3.4.2 smush-rd.min.js?ver=3.4.2 jquery.prettyPhoto.min.js?ver=3.1.6 slick.min.js?ver=5.3.2 jquery.magnific-popup.min.js?ver=5.3.2 isotope.pkgd.min.js?ver=6.1 scrollreveal.min.js?ver=5.3.2 jquery.countdown.min.js?ver=5.3.2 underscore.min.js?ver=1.8.3 wp-util.min.js?ver=5.3.2 add-to-cart-variation.min.js?ver=3.9.1 dialog.min.js?ver=1.11.4 imagesloaded.min.js?ver=3.2.0 theme.js?ver=5.3.2 core.min.js?ver=1.11.4Expand which is alot (maybe) or what do you think, something im missing here ? Best regards After you put on JS excluded is it working now? If yes could you try to remove the JS string one by one, I think just part for the JS is causing this error. So you can try to find out the real one.



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



Reference