• 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 8 replies - 16 through 23 (of 23 total)
  • Thread Starter fotov60

    (@fotov60)

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

    @qtwrk

    And now?

    Plugin Support qtwrk

    (@qtwrk)

    loads without move cursor now.

    Thread Starter fotov60

    (@fotov60)

    Can I make it load like it does now, but for the ones that aren’t this, be lazy load?

    Plugin Support qtwrk

    (@qtwrk)

    hmmm? it’s very mouthful sentence , not sure if I understood it

    but for any elements that is loaded by javascript, you will need to exclude that js from being delayed in order to achieve this.

    Thread Starter fotov60

    (@fotov60)

    So far in this thread, we were looking for a way to prevent the catalog of photos for sale from being delayed, and in the end, the solution was to disable lazy loading for iframes. My question now is if there is a way to do the opposite, to have lazy loading for iframes enabled except for this catalog, taking into account what we have seen in this thread.

    Plugin Support qtwrk

    (@qtwrk)

    have you tried Lazy Load Iframe Class Name Excludes or Lazy Load Iframe Parent Class Name Excludes ?

    Thread Starter fotov60

    (@fotov60)

    I haven’t tried it for these reasons:

    – I don’t know the difference between one option and the other and which one would be more useful for me.

    – I don’t know what to write in these options to identify the element we’re talking about and that can be excluded. In other words, what to put in those fields so that if it doesn’t work, it’s not because I didn’t use them correctly, but because they aren’t the corresponding option.

    Plugin Support qtwrk

    (@qtwrk)

    for example

    <iframe class="my-class-name" src="https://xxxx" ></iframe>
    

    this is the class name for the iframe, where you put my-class-name in first option , on the other hand , for example

    <div class="my-parent-class-name">
      <iframe src="https://xxx"></iframe>
    </div>
    

    in this case, the my-parent-class-name is the parent class name that can be used on option 2

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘How to exclude this script from Delayed option?’ is closed to new replies.