jquery.min.js is the minified version of jquery.js. The normal version jQuery-1.8.3.js has a file size of 252 KB, while the minified version jQuery.1.8.3-min.js has 91.6 KB.
I had a question in my mind that do jquery.min.js has support for all functions, same as jquery.js.
Strangely, both support the same functions. jquery.min.js is a compressed version of jquery.js. The reduction in size makes the page to load faster than by using a conventional jquery file.
It is advised to use the minified version of jquery, while in debugging we can use normal jquery.js version. Compressed JavaScript files are ideal for production environments since they typically reduce the size of the file by 30-90%.
We can minify our own js files as well. There are various JavaScript compressors available.
The goal of JavaScript minification or compression is always to preserve the operational qualities of the code while reducing its overall byte footprint. They mostly work by omitting or modifying some of the characters. They do not change the behavior of the program that they are minifying. Though, the result may be harder to debug and definitely be harder to read.
I had a question in my mind that do jquery.min.js has support for all functions, same as jquery.js.
Strangely, both support the same functions. jquery.min.js is a compressed version of jquery.js. The reduction in size makes the page to load faster than by using a conventional jquery file.
It is advised to use the minified version of jquery, while in debugging we can use normal jquery.js version. Compressed JavaScript files are ideal for production environments since they typically reduce the size of the file by 30-90%.
We can minify our own js files as well. There are various JavaScript compressors available.
The goal of JavaScript minification or compression is always to preserve the operational qualities of the code while reducing its overall byte footprint. They mostly work by omitting or modifying some of the characters. They do not change the behavior of the program that they are minifying. Though, the result may be harder to debug and definitely be harder to read.