View Single Post
  #3  
Old 02-25-2011, 11:03 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Combine Javascript to improve performance

The effect of this would vary per site. If you have a bunch of things loading, then all the JS files will start taking up HTTP requests and slow the load time due to waiting. It would also reduce the bandwith overhead of requesting more files but that difference wouldn't be noticed by much.

If you want to combine your javascript, you will need to find out which scripts can be combined so they load in the order they're supposed to. This could become more work than worth depending on how much JS is used and how much traffic you get.
__________________
- Shane Munroe
Reply With Quote