Support » Plugin: LiteSpeed Cache » How to exclude files from Delay JS?

  • Resolved gabrieldelpech

    (@gabrieldelpech)


    Hello,

    I’ve activated Delayed JS files but I’ve got an issue with the picture gallery that does not display before the user does anything (and I know this issue appeared after switching to Delayed JS).

    I listed all JS files and inline JS in the Differed JS exclusion box, but it seems that files are not excluded as nothing changes. Is it supposed to exclude for both Differed and Delayed? If not, how to?

    Thank you.

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

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

    (@qtwrk)

    Hi,

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello,

    It’s NSXVMJXD.

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    the ones with URL don’t work , remove the URL from it

    e.g. https://www.domain.com/xxx/xxx.js -> this is no
    xxx/xxx.js -> this is ok

    and you may also need to exclude it in JS exclude list as well , not only defer JS exclude list

    Best regards,

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello,

    Thank you.

    I did what you said:

    – remove https://domain from urls
    – copy this list to JS excluded list

    And this doesn’t make things better, but worse. By doing that, delay doesn’t work anymore, and some js files don’t load at all.

    Any idea?

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    delay doesn’t work anymore,

    in combine with

    I listed all JS files and inline JS in the Differed JS exclusion box

    delay doesn’t work anymore is the correct result as you have excluded all the JS from being defer/delayed

    and some js files don’t load at all.

    do you see any error message on dev tool ?

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello,

    With the same list of js scripts in both Delay and JS excluded, I have many JS errors in the dev console, like “Uncaught TypeError: $ is undefined” and others related to at least two plug-ins.

    Could you please tell me why Delay JS can’t work without the JS excluded list? I am using another plug-in for other websites, and it works fine with an empty excluded JS. Is it related to the theme?

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    it depends on how plugin was written , different developers would have different way to make things

    if you turn off deley , no error message shows up ?

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello,

    If delay turned off, there is no error message in the dev tools.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    okay , if you turn it on , with JS defer exclude

    wp-content
    wp-includes

    how does that go ?

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello,

    If I turn it on, with excluding this, I still have issues, like the picture gallery is not loading if the user doesn’t do anything.

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

    okay , you still need to find the corresponding inline JS to exclude

    Hi!

    Did you manage to solve the problem? I have the same one.

    Thread Starter gabrieldelpech

    (@gabrieldelpech)

    Hello @igriq,

    Still not. I made several tests and I still believe the delayed js excluded list is not working.

    I think so too. After a few days wasted. It is strange that they do not recognize this and do not correct it.

    essaund

    (@essaund)

    I have tested this out using both JS Excludes and JS Deferred Excludes by pasting the JS that I want to exclude from delay and it works perfectly fine.

    • This reply was modified 3 weeks ago by essaund.
Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.