Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Eichhorn148

1 Comments

Sorted by latest first Latest Oldest Best

 

@Connie744

The purpose of putting javascript at the bottom was to make sure the document was loaded before letting javascript interact with the web page. Performance had little if anything to do with it.

HTTP/2 has nothing to do with inlined javascript anyway unless you mean you were placing your loading script at the bottom, meaning <script src=""></script>. In that case, you are actually losing performance by not letting the browser jump on downloading the script right away by putting it in the <head>.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme