So, let say you have 10 pages, which each contains short javascripts such as click on load
.
Now, is it more efficient to combine all these javascript into one single file and or leave them on separate pages?
What I am concerning about one single file is that, I don't want extra data being used when you only need one of javascripts. But I heard that I should combine them all into one file.