Back to Browse

Part 98 What is JavaScript minification

63.0K views
Sep 22, 2013
13:21

Link for code samples used in the demo http://csharp-video-tutorials.blogspot.com/2013/09/part-98-what-is-javascript-minification.html Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help. https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation=1 Link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd What is JavaScript minification? JavaScript minification is the process of reducing the size of JavaScript file, by removing comments, extra white spaces, new line characters and using shorter variable names. What are the advantages of JavaScript minification? As the minified JavaScript files are very small, they will be downloaded much faster and consumes less bandwidth. Search engines like google considers page load time as one of the parameters to rank the pages. Is any of the functionality lost because of minification? No, the functionality will be exactly the same as before. Are there any tools available to minify JavaScript? There are lot of free tools available on the web. Just GOOGLE by using "Minify JavaScript" search term. What is the difference between jquery.js and jquery.min.js? jquery.min.js is the minified version, where as jquery.js is the non-minified version. In your production website always use minified files as they download faster and consumes less bandwidth. What is the downside of JavaScript minification? They are harder to read and debug. However, for development and debugging we can use non-minified versions. Just before deployment, minify and use the minified versions on the production environment.

Download

0 formats

No download links available.

Part 98 What is JavaScript minification | NatokHD