Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Minification is a computer science term for changing code to remove unnecessary characters and elements. By taking out comments and extraneous characters, as well as phrases and elements of a codebase, minification makes files smaller. It is a general best practice in many kinds of coding and codebase handling.
Minification is also known as minimization.
Some people tend to think of minification as a type of compression, but there are critical differences. Minification is a compression in a technical sense, because compression takes an entire file and condenses it according to various technical operations to condense and truncate file size. By contrast, minification involves taking out white space and comments and other non-mission-critical elements in order to shorten the code itself. However, both minification and compression can help to whittle down the size of an executable file.