• Resolved cryptodragon

    (@cryptodragon)


    Hi there,

    First of all, this plugin really helps and improves. There is only some difficulty I am experiencing with my website. I use two plugins that work with Javascript and shortcodes. On certain pages it loads a chart, exchange information and historical data. But when I have this async plugin activated, often nothing is loading. Chart keeps saying ”loading chart” for example. Or stays blank completely. I excluded both plugins in the settings, however it is not working. I’m not a coder at all… So… A genius probably can solve this issue with not too much effort. What do I need to exclude in the async plugin?

    Example not loading: https://gyazo.com/6704df539d49570075d1d0a92577e20e
    Example fully loaded: https://gyazo.com/3be05ee8aa63f5bde9cd6f34a79d8022

    Whenever I refresh, sometimes it loads parts of it. Like just the chart, or just the exchanges or just the historical data. So weird. Would be grateful if I can keep using the async plugin and load these scrips/shortcodes properly. You can go to the homepage and try any other currency, pages are all the same…

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, you have script tags like this one;
    <script async='async' src="https://www.cryptomoonity.com/wp-content/plugins/jnews-like/assets/js/plugin.js?189db0&189db0" defer="defer" type="726c16ca8da54bac68187d1f-text/javascript">

    So is seems you’re using AsyncJS AND cloudflare’s rocket loader AND maybe something else as well, which means it’s pretty much impossible to say where the problem gets introduced;

    * a script can have async (loaded asyncronously but executed immediately after) and this is applied on 36 scripts
    * a script can have defer (loaded asyscronously but executed late i.e. after DomContentLoaded iirc) and this is applied on 42 scripts
    * a script can have type="726c16ca8da54bac68187d1f-text/javascript" in which case it is executed late thanks to CloudFlare’s secret sauce and this is applied on 65 scripts

    So I think that for a start you should scale back to using just one solution and get that working? ??

    frank

    Thread Starter cryptodragon

    (@cryptodragon)

    Oh boy, this is rocket science. Thank you Frank…. There are a billion settings in Cloudflare and A2hosting etc etc lolololollollollollolloll okay I will click some buttons and see ?? So you think it has nothing to do with async plugin? More likely to be cloudflare? ??

    Thread Starter cryptodragon

    (@cryptodragon)

    May I ask how/where you see all that data? I literally turned everything off and it already works better than before. I may have done some overkill no? ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    by doing a “view HTML source” of your homepage and yeah, “some overkill” it was ??

    Thread Starter cryptodragon

    (@cryptodragon)

    Some overkill, not too much. ?? Ok I will download your amazing plugin again now and do pagespeed and gtmetrix test and see what magic it does with only that plugin installed.

    OMGGGGGGG gtmetrix report pagespeed A 91!!!
    OMGGGGGGGGGGGGGGG Google Pagespeed for Desktop 92!!!!

    Only mobile really slow, 44 google pagespeed. Recommend to instal autooptimize too? Or is that a little bit overkill again?

    I paid someone $100 last month with pain in my heart for nothing, didn’t help. You help me for free with one reply and it helps. omg.

    Okay I tried autoptimize too, but made it slightly worse. Anywayssss, you are my hero of the month. Thank you.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    most welcome ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘What scripts to exclude’ is closed to new replies.