View Single Post
Old 04-27-2010, 12:52 PM  
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by ProG View Post
If you have 500kb of code its obviously going to be slower than 100kb of code. The overall size of your Javascript code will depend on the quality of your coder and the library (or libraries) they chose to use.

Google Closure has a compiler that will compile a stand alone Javascript file that contains only the necessary code for your application. (This removes the need to load an entire library)

There are also tools such as minify to reduce file size and cache code.
http://code.google.com/p/minify/
amazing! thanks for the info i will have a look.

i always want my sites mint. there is no use in cutting any corners. if it costs the extra time and money it is worth it. that is the only way you can see true results.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote