Posted on July 14, 2011 by Michael Rosario | Comments (4)
I love javascript and I end up using 1,2,3…8 scripts on a site. It comes to a point that all these small file sizes add up. Here are some tools you can use to optimize, compress, and reduce the filesizes of your javascript files. In most cases, removing white-spaces, comments, and reducing variable names can cut your filesize in half.
Notice: Some individuals also use this to protect their code, as some compressions makes the code “unreadable” to normal humans. ha! For coders like us, they just make it harder and some people are too lazy to convert your code back to readable formats.
outsource web development wrote on July 28, 2011 at 1:46am:
JSMin is a filter that omits or modifies some characters. This does not change the behavior of the program that it is minifying. The result may be harder to debug. It will definitely be harder to read.iphone wrote on September 30, 2011 at 11:40pm:
Visual Basic, Ruby, and the other high-level languages, there is a lot you can do to optimize your code, but there is a limit to what you done.iPhone 5 release dateLifting Chains wrote on November 2, 2011 at 11:16am:
JSmin Modifier is a real thing. If you are a professional, then you cannot resist of it.Smith Hogg wrote on November 5, 2011 at 3:28am:
It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about!
4 comments, add yours below