• Resolved samtex9

    (@samtex9)


    On my woocommerce store some of the JS elements have stopped working (tabs) . However, when I disable the JS optimisation in litespeed everything works again.

    In an attempt to troubleshoot the problem I put all the JS loaded on the page from developer tools into the JS exclude box in litespeed cache but nothing worked.

    in short if I turn off JS combine and JS minification everything works. If I turn these two options back on it doesn’t work even if I exclude all the JS in the tuning tab.

    At the moment I have left JS optimisation off but would love to use it.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    have you checked the inline javascript ? it could be inline , but not individual js files

    Thread Starter samtex9

    (@samtex9)

    Hi, thank you for your response.

    The challenge is even when the JS Combine External and Inline option is tuned off the problem still persists.

    I’m assuming when this option is unchecked then the inline script remains untouched.

    Plugin Support qtwrk

    (@qtwrk)

    no , I mean when JS minify is enabled , it will minify the inline JS as well

    if you enable JS minify , but not JS combine , does it work ?

    if you enable JS combine , but not JS minify , does it work ?

    Thread Starter samtex9

    (@samtex9)

    Hi, if I enable JS Mini or JS Combine the issue occurs.

    Plugin Support qtwrk

    (@qtwrk)

    so both scenario breaks ? minify alone , or combine alone ?

    Thread Starter samtex9

    (@samtex9)

    Yes, both scenarios seems to break the site. Either individually or used together.

    Plugin Support qtwrk

    (@qtwrk)

    okay , please go to page optm -> tuning -> js exclude , add

    wp-

    then enabel JS minify or combine , see what happens

    Thread Starter samtex9

    (@samtex9)

    Thank you. As soon as I’m back at my desk I’ll give it a try and report back.

    • This reply was modified 1 year, 2 months ago by samtex9.
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘JS Exclusion not working’ is closed to new replies.