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

Cutting the Cable Cord: Ways to Save
Posted on March 20, 2015  |  Comments Cable is great - lots of channels, DVR, movies! Do I really need all that? I cut the chord to save money and see all the possible options to save.
Echo Dot - 2nd Generation
Posted on February 5, 2015  |  Comments Amazon's Echo Dot is a hands-free, voice-controlled device that uses Alexa to play music, control smart home devices, make calls, send and receive messages, provide information, read the news, set alarms, read audiobooks from Audible, and more.
A Conversation about Conservation
Posted on November 16, 2014  |  Comments It's always good to save money and save the environment at the same time. There are so many ways, lifehacks, and things we can do. Please share.