Once again, we look to optimize the size of the response as well as the method in which the browser renders the content for the user. By placing the JavaScript at the bottom of the HTML document, we allow the browser to render the HTML and not become blocked by the loading and execution of the JavaScript. This was seen in our previous example while using the Firebug-Net tab within the Google home page.
By minifying the JavaScript, like minification in CSS, we remove white spaces, thereby reducing the file size and reducing the size of the response.