Title: Does Flying Scripts skip if the script has &#8220;async&#8221; attribute?
Last modified: May 25, 2021

---

# Does Flying Scripts skip if the script has “async” attribute?

 *  Resolved [skillsharejp](https://wordpress.org/support/users/skillsharejp/)
 * (@skillsharejp)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/)
 * If a script has async attribute like this;
 * `<script data-minify="1" async src="url"></script>`
 * Does Flying Scripts skip this file even if we indicate that specific script to
   be delayed?
 * Other delay JS features like in WP Rocket can delay the same script, but Flying
   Scripts is not delaying even the time out is set to 5000*1000 aka Never.

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

 *  Plugin Author [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478449)
 * [@skillsharejp](https://wordpress.org/support/users/skillsharejp/) no, Flying
   Scripts don’t skip based on async or data-minify.
 *  Thread Starter [skillsharejp](https://wordpress.org/support/users/skillsharejp/)
 * (@skillsharejp)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478553)
 * Thanks for confirming. I just noticed DOM size (actually the rendering) matters
   how Flying Scripts gets triggered.
 * For example on a page where DOM size is quite large (4,000), Flying Scripts can’t
   delay any scripts.
 * On the other hand, on a page on the same domain with less DOM size, Flying Scripts
   is actually delaying scripts.
 * Have you heard any similar report like this before?
 *  Plugin Author [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478572)
 * [@skillsharejp](https://wordpress.org/support/users/skillsharejp/)
 * Possible causes:
 * 1) There are some serious HTML errors.
    2) Your server doesn’t have enough memory(
   resources) to parse the HTML.
    -  This reply was modified 5 years ago by [Gijo Varghese](https://wordpress.org/support/users/gijo/).
 *  Thread Starter [skillsharejp](https://wordpress.org/support/users/skillsharejp/)
 * (@skillsharejp)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478612)
 * > Your server doesn’t have enough memory (resources) to parse the HTML.
 * This is so far the most possible cause. Thanks for your feedback as I can’t find
   serious HTML errors for now.
 *  Thread Starter [skillsharejp](https://wordpress.org/support/users/skillsharejp/)
 * (@skillsharejp)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478890)
 * One more question. Perfmatters delay can handle both pages, doesn’t matter how
   large is the DOM is. But only Flying Scripts can’t handle like in previous post.(
   Every test is done on the same site, same condition.)
 * Do you think this is also related to how much RAM the serve has?
 *  Plugin Author [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478909)
 * [@skillsharejp](https://wordpress.org/support/users/skillsharejp/) both are different
   plugins, might be using different HTML parsers.

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

The topic ‘Does Flying Scripts skip if the script has “async” attribute?’ is closed
to new replies.

 * ![](https://ps.w.org/flying-scripts/assets/icon-256x256.png?rev=2240444)
 * [Flying Scripts: Delay JavaScript to Improve Site Speed & Performance](https://wordpress.org/plugins/flying-scripts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flying-scripts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flying-scripts/)
 * [Active Topics](https://wordpress.org/support/plugin/flying-scripts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flying-scripts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flying-scripts/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/does-flying-scripts-skip-if-the-script-has-async-attribute/#post-14478909)
 * Status: resolved