the Blog

Tips & Tricks

Let’s get minified - Compressing and Optimizing your Code.

Posted on July 14, 2011 by Michael Rosario  |  Comments

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.

 

comments powered by Disqus

Other Recent Blog

Getting Your Next iPhone for FREE
Posted on May 15, 2011  |  Comments I'm just sharing my experience in selling my previous iphone to get the most recent iphone. I love my iphone and i'm sure you love yours too.
Show Some Web Typography Love Using Typekit
Posted on May 12, 2011  |  Comments Typekit is a simple add-on to your site that allows the use of custom fonts. They have hundreds in their library. It's simple, light-weight, and compatible to most browsers.