• Resolved mezoology

    (@mezoology)


    hello, I’m 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 don’t 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 5 years ago by mezoology.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • stanley@litespeed

    (@stanleylitespeed)

    Hi @mezoology, on the ar site there’s 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.

    Thread Starter mezoology

    (@mezoology)

    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.4

    which is alot (maybe) or what do you think, something im missing here ?

    Best regards

    stanley@litespeed

    (@stanleylitespeed)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘litespeed cache with translatepress’ is closed to new replies.