I am using javascript graphic libraries for my project. In all libraries I am finding the files like
abc.js - abc.min.js
xyz.js - xyz.min.js
What does .min indicate? Is it some sort of syntax of making javascript libraries?
min. js is a compressed version of jquery. js (whitespaces and comments stripped out, shorter variable names, ...) in order to preserve bandwidth. In terms of functionality they are absolutely the same.
js. A super tiny JavaScript library to execute simple DOM querying and hooking event listeners. Aims to return the raw DOM node for you to manipulate directly, using HTML5 (et al) tech like element. classList or element.
min is the minified version, and it is primarily used while the website is being launched in order to reduce the load for the particular website. Basically all the long variable names and function names are converted into shorter ones during the process of minifying.
min. js is the minified version of the jQuery source file. Minified files are optimized to take up less space, hence load faster. For example, the minified version of jQuery 3.2.
.min
is the minified version, and it is primarily used while the website is being launched in order to reduce the load for the particular website.
Basically all the long variable names and function names are converted into shorter ones during the process of minifying. As consequence it would reduce the size of that particular file, so it would less the loading speed of the website.
On the other hand normal .js
is the one which is used until the site being launched, meaning while the site in the mode of development/testing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With