small.js is like this:
small.js and allows
the browser to deliver a faster time to first render. However, note that inlining also increases
the size of the HTML document and that the same script contents may need to be inlined across
multiple pages. As a result, you should only inline small scripts to deliver best performance.
attribute on external scripts. For example:
document.write. Scripts that depend on execution order or need to access or modify
the DOM or CSSOM of the page may need to be rewritten to account for these constraints.
Was this page helpful?