• Resolved marocho

    (@marocho)


    I have narrowed down the issue which I am dealing with now to be caused by the LOAD JS DELAYED option in page optimization settings, because when I turn it off I can see the image loading on my product page. For some reason this only happens in the mobile and tablet version.

    Report number: JITQQKBC

    Report date: 09/01/2023 08:35:07

    It must be some kind of inline JS because after ading

    wp-content
    wp-includes

    to the js excludes the problem still appears. I have tried to exclude some possible <script inline files but without any success.

    The problem should be replicated on mobile site link: mypetshop-site.com

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

    (@qtwrk)

    please try grab all the inline JS , see how it goes

    Thread Starter marocho

    (@marocho)

    Hello,

    I do not really understand how the process of getting each and every one and exclude them works…

    Can you state more clearly how this should be done?

    Plugin Support qtwrk

    (@qtwrk)

    for example , this is the inline JS , and from scroll bar, you can see this page has like dozens of them , extract a word/string from each of them and place them into the exlcude fields , purge all.

    Thread Starter marocho

    (@marocho)

    I have put all of this: https://prnt.sc/utdoZjFMRgxC

    and this https://prnt.sc/Dq1l87zYU-bd

    But it turns out that inline must not be the problem. Why is the reason on a smaller window this page doesn’t load the photo as shown in this reference picture: https://prnt.sc/Dq1l87zYU-bd

    Plugin Support qtwrk

    (@qtwrk)

    no no , sorry if I did not make it clear , it’s not the part <script type=text/javasciprt> , it’s the part after that line , that hole chunk is the inline , extract one word or string from each of them.

    Thread Starter marocho

    (@marocho)

    Can you make it more clear with another detailed example?

    Thread Starter marocho

    (@marocho)

    Because I have tried to exclude all of the inline js: https://prnt.sc/XYlLr1dULOkw

    https://prnt.sc/0F8_MTKat2ZT

    But still not a fix to my problem— https://prnt.sc/dGMM4MvlOEzA

    What could this be cause by because still it appears if I turn the js delayed OFF…

    Plugin Support qtwrk

    (@qtwrk)

    if it still shows up with js delay off , then maybe you have looked into wrong directly

    imagine you saw an inline js , for example

    <script type='text/javascript' id='utils-js-extra'>
    /* <![CDATA[ */
    var userSettings = {"url":"\/","uid":"15918773","time":"1695352312","secure":"1"};
    /* ]]> */
    </script>

    then you can extract a piece of string inside of tag , in above example

    var , userSettings , url, uid, time , secure , can all be used as word to exclud inline JS

    ideally , this word should be as unique as possible

    Thread Starter marocho

    (@marocho)

    if it doesn’t shows up with js delay off , then it may be inline right?

    Plugin Support qtwrk

    (@qtwrk)

    if it still not showing , then it’s not JS delay , but most likely other options

    please try narrow down which one that is

    Thread Starter marocho

    (@marocho)

    Thank you for the explanation. I have found the troublesome file.

    Nevertheless, some of my pictures after disabling Page optimization options I don’t have to quite find our what is causing my problem.

    The problem is that some of my pictures appear not in the right sizes in the single product display. Here is an example: https://prnt.sc/hO5plh_t5eG2

    What do you think can be the cause of this problem.

    Report number: JITQQKBC

    Thread Starter marocho

    (@marocho)

    When I see the page with /?LSCWP_CTRL=before_optm the page still looks not as expected. Does that have to mean that it must not be a problem with the litespeed cache plugin?

    Plugin Support qtwrk

    (@qtwrk)

    yes, that’s correct, that query string will bypass LSCWP, literally as the plugin was not even enabled , if it still shows the issue , then it must be something else.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Woocomerce Product page js delay’ is closed to new replies.