How to place multiple javascripts in a webpage

Hi,

while checking the speed performance of one my webpage I found suggestion “This page has 9 external Javascript scripts. Try combining them into one.” I don’t know how to manage to combine them in one.

Could anyone suggest me how to do that or any other way to make it better. I want this on multiple pages.

To combine them into one you… Combine them into one. Lol. Just put them in the same order they currently are. Place the link at the bottom just above the closing body tag.

Hi,

As Eric says, just combining them into one and placing them at the bottom of your document will work fine.

However, there are also various tools available which will do this for you, but which also bring a few other benefits, such as removing unnecessary whitespace and comments, and serving them with gzip encoding and optimal client-side cache headers.

There’s a good discussion of this on StackOverflow: http://stackoverflow.com/questions/4947231/tool-to-combine-javacripts-files-into-one