The HTML5 script tag loading directives seem pretty cool https://stackoverflow.com/a/24070373/1070291
Is it possible to async load a bunch of scripts but have a single script wait to execute based on the async ones completing.
<script src="//some.cdn/jquery.js" async></script>
<script src="//some.cdn/underscore.js" async></script>
<script src="/my-app-which-uses-_-and-jquery.js" defer></script>
Is my app script guaranteed to execute after my libraries or will it only execute in order with other defer scripts?
defer
will wait forasync
? – Alexander O'Mara