• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in MVC Language by
Q:
What is minification and how to implement minification in MVC?

1 Answer

0 votes
by
Minification is a process to remove the blank space, comments etc.

The implementation of minification is as like as bundling. That means when we implement bundling minification is also implemented automatically. A sample JavaScript codes with comments:

// This is test comments

var x = 5;

x = x + 2;

x = x * 3;

After implementing minification the JavaScript code looks like:

var x=5;x=x+12x=x*3

Related questions

0 votes
asked Aug 18, 2019 in MVC Language by rahulsharma
0 votes
asked Aug 18, 2019 in MVC Language by rahulsharma
...