Place Your Script Tags at the Bottom
Author: Mitch Keeler
Want a quick and easy way to speed up your web site? Well, it might not work for everybody – but this is what I like to do.
If you can, place script tags at the bottom of a web page instead of the top. When calling a special tracking code, or using a special JavaScript file – give it a shot. Now why and how does this speed things up? Well web pages are loaded from top to bottom, and the loading can progress if it gets hung up trying to load (for example) your JavaScript file.
Moving it to the bottom, it will save that for last – and your user can enjoy checking out the rest of the page – just in case it gets hung up.
Something else you can do to speed up JavaScript files is to compress them as much as possible. Here are two great resources that will help you get that done:
Now with your scripts in the right spot and your JavaScript compressed for faster loading, you should see some speed boost in your web site’s performance.



