which is better? all js or only for page? Question is: Is it better to have 1 global javascript file and load it on every page or specific files for each page.

Any objective tests showing the results for each and the pros and cons etc including but not limited to specific browsers' caches and how it does js etc.