Title: What scripts to exclude
Last modified: November 20, 2018

---

# What scripts to exclude

 *  Resolved [cryptodragon](https://wordpress.org/support/users/cryptodragon/)
 * (@cryptodragon)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/)
 * 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](https://gyazo.com/6704df539d49570075d1d0a92577e20e)
   
   Example fully loaded: [https://gyazo.com/3be05ee8aa63f5bde9cd6f34a79d8022](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhat-scripts-to-exclude%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900062)
 * 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](https://wordpress.org/support/users/cryptodragon/)
 * (@cryptodragon)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900179)
 * 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](https://wordpress.org/support/users/cryptodragon/)
 * (@cryptodragon)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900603)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900619)
 * by doing a “view HTML source” of your homepage and yeah, “some overkill” it was
   🙂
 *  Thread Starter [cryptodragon](https://wordpress.org/support/users/cryptodragon/)
 * (@cryptodragon)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900671)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900686)
 * most welcome 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘What scripts to exclude’ is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/what-scripts-to-exclude/#post-10900686)
 * Status: resolved