Consider a compressed Javascript file (containing few merged javascript files) called compressed.js. This file could be called using: <script src="javascripts/compressed.js" type="text/javascript"></script> Afriend of mine said that placing the following code in the footer would be better in terms of the site performance:
<div id="footer:>
<script type="text/javascript">
//Compressed js code is located here
</script>
</div>
</body>
</html>
Is he right? Any answers and links concerning the javascript performance improving are greatly appreciated