Do You Place Scripts at the Bottom of Your Page?
24/08/2015 11:08 AM by
Bear in mind that the load time is a very important aspect on web development.
The goal is to make the page load as quickly as possible for the user.
It's known that when a browser loads a script, it can’t continue on until the entire file has been loaded.
So go ahead and place JS files at the bottom of the HTML, just before the closing body tag.
Tests at a big online sales company revealed that every 100 ms increase in load time decreased sales by 1%.
Do you feel this rule needs an update?