If the external scripts are small, you can include them directly into the HTML document. Inlining small files in this way allows the browser to proceed with rendering the page. For example, if the HTML document looks like this:
And the resource
small.js is like this:
Then you can inline the script as follows:
This eliminates the external request for
small.js by placing
it inline in the HTML document.
<script async src="my.js">