Minification (programming)

minificationJSMinminifiedminifiesminifyCode minificationcompressionminifiersMinimisation (code)
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source codes of interpreted programming languages or markup languages without changing their functionality.wikipedia
42 Related Articles

Source code

codesourcesource file
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source codes of interpreted programming languages or markup languages without changing their functionality.
Often there are several steps of program translation or minification between the original source code typed by a human and an executable program.

Douglas Crockford

In 2001 Douglas Crockford introduced JSMin, which removed comments and whitespace from JavaScript code.
He popularized the data format JSON (JavaScript Object Notation), and has developed various JavaScript related tools such as JSLint and JSMin.

Pretty Diff

In addition, certain online tools, such as Microsoft Ajax Minifier, the Yahoo! YUI Compressor or Pretty Diff, can compress CSS files.
The online utility is capable of source code prettification, minification, and comparison of two pieces of input text.

Interpreted language

interpretedinterpreted programming languageinterpreter
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source codes of interpreted programming languages or markup languages without changing their functionality.

Markup language

markupmarkup languagestext encoding
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source codes of interpreted programming languages or markup languages without changing their functionality.

Whitespace character

whitespacespace characterwhite space
These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

Newline

line feedLFend of line
These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

Comment (computer programming)

commentcommentsREM
These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

List of programming languages by type

Curly bracket programming languagecurly bracketsbracket-delimited languages
These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

Code golf

GolfScript
In programmer culture, aiming at extremely minified source code is the purpose of recreational code golf competitions.

Obfuscation (software)

obfuscatedObfuscated codeobfuscation
Minification must not be confused with obfuscation; the former can be readily reversed using a pretty-printer.

Prettyprint

pretty-printpretty-printedpretty-printer
Minification must not be confused with obfuscation; the former can be readily reversed using a pretty-printer.

Data compression

compressionvideo compressioncompressed
Minification can be distinguished from the more general concept of data compression in that the minified source can be interpreted immediately without the need for an uncompression step: the same interpreter can work with both the original as well as with the minified source.

JavaScript

Server-side JavaScriptclient-side JavaScriptJS
For example the JavaScript code

Visual Studio Code

Microsoft Visual Studio CodeVS CodeVSCode
Visual Studio Code comes with minification support for several languages.

Google Closure Tools

Closure CompilerGoogle Closure CompilerClosure framework
JavaScript optimizers which can minify and generate source maps include UglifyJS and Google Closure Compiler.

YUI Library

YUITheYahoo! User Interface library
In addition, certain online tools, such as Microsoft Ajax Minifier, the Yahoo! YUI Compressor or Pretty Diff, can compress CSS files.

Web application

web-basedweb applicationsweb app
Components and libraries for Web applications and websites have been developed to optimize file requests and reduce page load times by shrinking the size of various files.

Cascading Style Sheets

CSSCSS3Cascading Style Sheet
In addition, certain online tools, such as Microsoft Ajax Minifier, the Yahoo! YUI Compressor or Pretty Diff, can compress CSS files.

Grunt (software)

Grunt
Grunt is a JavaScript task runner, a tool used to automatically perform frequent tasks such as minification, compilation, unit testing, and linting.

Minimisation

Minimization (disambiguation)Minimisation (disambiguation)

List of tools for static code analysis

List of tools for static code analysis, JavaScriptStatic code analysis toolsautomated tool

HTTP/2

HTTP version 2HTTP/2.0HTTP2
Websites that are efficient minimize the number of requests required to render an entire page by minifying (reducing the amount of code and packing smaller pieces of code into bundles, without reducing its ability to function) resources such as images and scripts.

Gulp.js

Gulp
It is a task runner built on Node.js and npm, used for automation of time-consuming and repetitive tasks involved in web development like minification, concatenation, cache busting, unit testing, linting, optimization, etc.

Wing mirror

Side-view mirrorside mirrormirrors
However, the convexity also minifies the objects shown.