• Resolved fotov60

    (@fotov60)


    Hello,

    I have the following script, which is a shopping cart, and I’d like to exclude it from the JS delayed option in the plugin. I’ve tried putting “fineartamerica” in the LiteSpeed Cache Page Optimization’s “JS Deferred/Delayed Excludes” field, but it doesn’t work. I’m not sure what to include to make it work. Can you help me?

    <script type='text/javascript' src='https://fineartamerica.com/widgetshoppingcart/widgetscripts.php'></script><iframe id='pixelsshoppingcartiframe' src='https://fineartamerica.com/widgetshoppingcart/artwork.html?memberidtype=artistid&memberid=77963&domainid=0&showheader=0&height=600&autoheight=true' style='display: inline-block; width: 100%; height: 820px; border: none; overflow: hidden;'></iframe>

    Thanks

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

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

    (@qtwrk)

    please try widgetscripts

    Thread Starter fotov60

    (@fotov60)

    I’ve just tested it, and it still appears only when interacting with the page. I cleared the LiteSpeed cache after including it to prevent interference with the cached version of the page.In the code at the bottom, I see that it’s tagged as an iframe. Should it be treated as JavaScript or as an iframe to exclude it from LiteSpeed Cache?

    Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

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

    Thread Starter fotov60

    (@fotov60)

    Here it is FKWTKIFM

    Plugin Support qtwrk

    (@qtwrk)

    I don’t see such excluding string in your report , please make sure you have added it into all the JS exclude fields and purge cache.

    Thread Starter fotov60

    (@fotov60)

    I do it but remove before provide the report number. When I do a change an dont work I undo it to no forget and accumulate wrong changes maked across the plugin.

    Here is a new report number with the string included after clearing the cache so you can check that it doesn’t work. KVPJIYEN

    Plugin Support qtwrk

    (@qtwrk)

    please try add it to JS exclude as well

    Thread Starter fotov60

    (@fotov60)

    How should I do it? By adding “widgetscripts” to JS Excludes? I just did it and cleared the cache again, and the result is still the same. Here’s the new report number for you to check FIDDUOHT

    Plugin Support qtwrk

    (@qtwrk)

    but I can see it is in the HTML source code now , without being deferred/delayed

    Thread Starter fotov60

    (@fotov60)

    if you visit the page with the script that generates the shop chart You can see that the script content is still loading only after interacting with the page. If you simply go to the URL and don’t interact, the script doesn’t appear on the page, so there must be something else interfering. The only way I’ve managed to make it load along with the page is by excluding its URL, but then I also lose all the other optimizations, including other scripts that slow down the page.For it to work properly, the shopping cart should load when the page loads so that visitors can see it, and the rest of the scripts should load as they do now.

    https://www.fotov60.com/tienda-de-fotov60/

    Plugin Support qtwrk

    (@qtwrk)

    then that means this is not the right code that loads , also try disable the iframe lazyload

    Thread Starter fotov60

    (@fotov60)

    It seems to be working now. Can you confirm that if you access the page http://www.fotov60.com/tienda-de-fotov60/, the chart loads instantly for you?

    Should I then remove the “widgetscripts” parameter from the JS Excludes and JS Deferred / Delayed Excludes sections? Can I disable only the iframe lazyload for this case and continue having it enabled for the rest of the iframes?

    Report number: PGGFJKDX

    Plugin Support qtwrk

    (@qtwrk)

    please forgive my bluntness , what or which “chart” you refer to ?

    Thread Starter fotov60

    (@fotov60)

    I’m referring to the sales catalog, where all the photographs for sale are listed with their prices and navigation options. It’s the result of the script I mentioned in the first post, which comes from fineartamerica.com to display the products for sale. I hope that clarifies it.

    Plugin Support qtwrk

    (@qtwrk)

    it looks like still being delayed , I need to move the cursor to load it.

Viewing 15 replies - 1 through 15 (of 23 total)

The topic ‘How to exclude this script from Delayed option?’ is closed to new replies.