• Resolved cloudres

    (@griotta)


    Hi there,

    we activated your new JS Delayed feature. It halved our loading times, so great. But it didn’t work well on some pages. So our developer created a snippet that disables that function on some URL like cart or checkout (also in secondary languages with WPML).

    Can I ask you to add this feature directly on the plugin? It could be also useful to exclude at all some JS from this feature, just like we already do with JS Defer Exclude.

    Thanks a lot.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter cloudres

    (@griotta)

    @serpentdriver unfortunately your is not an useful comment. I’ll wait for another supporter comment. Thanks the same!

    If you would read documentation plugin support would have more time to care about real issues. Your case is not new. Many other users had the same problem and that’s why there is a solution for it, that can be found in documentation.

    Thread Starter cloudres

    (@griotta)

    @serpentdriver we’re not joking. If a fix exists, please paste a link that points directly to it. Do not ask to find something in a documentations long tons of words. For your information we already take a look at the documentation, but we didn’t find anything related to JS Delayed.

    Thanks.

    Plugin Support qtwrk

    (@qtwrk)

    what about you just exclude these kind of page like checkout / cart from being optimized at all ? in page optm -> tune setting -> uri exclude

    Thread Starter cloudres

    (@griotta)

    Dear @qtwrk,

    why should I disable all optimization inside cart/checkout? CSS/JS minified are still useful there.

    But if I delays the loading of JS files there, Amazon Pay doesn’t shows its login button for example. Same result with Apple Pay or Google Pay by Stripe and again other problems with PayPal.

    It’s acceptable from desktop, because moving the cursor the JS are loaded without any evident problem on the screen. But from the smart phone it’s different. If the customer does not touch the monitor nothing happens there. When the customer touch the monitor there is an huge blocking time, because all JS must be loaded. In that case there is also a re-syncronization of the cart content… it is not a good experience for the customer. A customer could leave the page because could not understand what it’s happening.

    This is why I’m writing you.

    Plugin Support qtwrk

    (@qtwrk)

    I recall by default checkout/cart page is no-cache

    and optimization will not be performed on no-cache page

    are you sure you got minify and other things work on these pages?

    Thread Starter cloudres

    (@griotta)

    Ops, it’s true. CSS and JS files on the cart and checkout pages are not minified by default. While I confirm without any doubt that the cache doesn’t works there. But so why automatically the JS Delay works there? Is should not be excluded by default?

    Plugin Support qtwrk

    (@qtwrk)

    yeah , it should exclude

    I just test it on my test site , I can see the delay is not working on my site

    please try get the debug log , see what it says

    Thread Starter cloudres

    (@griotta)

    It sounds great. We’ll try it asap.

    Another question. Is there a way to exclude the Google Analytics js from this delaying? There could be some situations where the customer click on a link in page quickly, without waiting the loading of JS files. Mainly from smartphone where you can just click without scrolling or moving a cursor. I ask this, because after the delaying JS activation I saw a drop in visits by Google Analytics.

    Thread Starter cloudres

    (@griotta)

    We’re occurring another problem related to this. There is an icon of shopping cart above the fold on our web site that shows the number of products inside the cart. Without loading the Ajax it does not work before clicking. I think that it is a common problem in a web site that sells online. Also in this case, maybe a feature to excluding some files would be good.

    Plugin Support qtwrk

    (@qtwrk)

    yes , you can exclude GA JS as any other js file in defer JS exclude and JS exclude list.

    Thread Starter cloudres

    (@griotta)

    @qtwrk so using “JS Deferred Excludes” we can exclude from the delaying also. That’s fine, we’ll try it asap. Thanks!

    Plugin Support qtwrk

    (@qtwrk)

    yes , please give it a try and let me konw how it goes

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘JS Delayed + URL excluded’ is closed to new replies.