June 24, 2011

By Kevin

Comments Off on Minifying JQuery and JavaScript

Categories: JavaScript

Tags: , , , ,

Minifying JQuery and JavaScript

There is a cool Firefox and Chrome extension called Page Speed (http://code.google.com/speed/page-speed/).  It allows you to figure out what is making your web site load slowly.  One of the tips it gives is how to Minify JavaScript.  I found this great Minify tool called YUI Compressor (http://www.refresh-sf.com/yui/).  It allows you to paste your JavaScript or JQuery code into the website and it outputs your minified JQuery or Javascript code.  It can also minify CSS.  These two tools help me make websites that load much quicker.