What's the difference between jquery.js and jquery.min.js?

gowri picture gowri · Aug 13, 2010 · Viewed 213.2k times · Source

What is the difference between jquery.min.js and jquery.js?

Which one has support for all functions?

Answer

webnoob picture webnoob · Aug 13, 2010

They are both the same functionally but the .min one has all unnecessary characters removed in order to make the file size smaller.

Just to point out as well, you are better using the minified version (.min) for your live environment as Google are now checking on page loading times. Having all your JS file minified means they will load faster and will score you more brownie points.

You can get an addon for Mozilla called Page Speed that will look through your site and show you all the .JS files and provide minified versions (amongst other things).