the Blog

Tips & Tricks

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

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.

 

4 comments, add yours below

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 date

 

Lifting 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!

 
add your comment here
Login

or register to create an account



Recent Blog Entries

Coderrific.com - This site is now responsive.
Posted on March 25, 2013  |  Comment (0) After learning a few tricks, it didn't take that long for this site to transform to a responsive site. read more
Time Warner Increasing Modem Fees on October 15th.
Posted on October 6, 2012  |  Comment (1) Time Warner Cable is expanding plans to start charging users a $3.95 modem rental fee. Is it worth it to buy or continue to rent with this fee? read more
Is it Time to Buy a New Computer?
Posted on June 11, 2012  |  Comment (1) Let's find some "excuses" to buy a new computer. Why do we need to spend? read more
What is Responsive Web Design?
Posted on May 23, 2012  |  Comments (17) This is certainly the next thing in web design and development. Making you website responsive? ... Umm what? read more
More Typography Love with Google Web Fonts
Posted on April 16, 2012  |  Comments (7) We've previously written about the use of Typekit to introduce more typography to your websites. There is another FREE + Open source solution: Google Web Fonts. read more
Essential iPad Tools for Web Developers
Posted on April 13, 2012  |  Comments (2) The iPad isn't an ideal tool to create websites, but for easy fixes, presentations, debugging it can be the best tool for you. read more
“Unlimited”
Posted on December 14, 2011  |  Comment (0) I'm talking about ISPs and data plans that are providing "Unlimited" plans. Or so they say? read more
Holiday iPhone Games for 2011
Posted on November 22, 2011  |  Comments (10) Nothing like a holiday sale! read more