Browse Definitions :
Definition

minify

Contributor(s): Henry Belisle, Christine Guarrera

Code minification is the removal of unnecessary characters from source code. Mini, when used as a prefix, means small.  The goal of minification is to make source code "smaller" and improve performance. Conceptually, minification is similar to compression.  Unlike code that has been compressed, however, minified code can still be worked with -- without requiring the extra step of decompression.

The term minification is often associated with interpreted scripted languages, such as JavaScript, that are deployed and transmitted over the Internet. Code that has been minified by replacing runs of spaces by a single space, for example, is more lightweight and takes less time for a browser to load. Minified code bases also have a smaller footprint on a server's disk. Not only does this consume less resources for storage, it also helps reduce congestion over the network.

Minified code may not be as rich in features or have the documentation that traditional code does, but the reduction of features has the benefit of reducing the attack surface. Therefore, intercepted or compromised minified code may not as easy for a hacker looking to find an engineering flaw to exploit.

Popular minification tools for Web development include YUI Compressor, Google Closure Compiler, UglifyJS and JSMin. In some areas of programming, minification is also known as de-obfuscation

This was last updated in June 2012

Continue Reading About minify

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

Minification is the process of compression code from the original size to the smallest size and does not affect to the operation of the code. The process will removes or modifies some unnecessary characters from the code. Removes characters as white space, new line, comment out code… modifies as HEX color, defined variable to minified character… Finally, all the code will on one line.

Minification process can reduce 10% – 95% the size of code! This will help the website running faster and then get high Search Engine Optimization (SEO) score. This’s also a way to save resources on web server, of course!
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

SearchSecurity

  • time-based one-time password (TOTP)

    A time-based one-time password (TOTP) is a temporary code, generated by an algorithm, for use in authenticating access to ...

  • Security Operations Center (SOC)

    A security operations center (SOC) is a command center facility for a team of IT professionals with expertise in information ...

  • incident response team

    An incident response team is a group of IT professionals in charge of preparing for and reacting to any type of organizational ...

SearchHealthIT

SearchDisasterRecovery

  • disaster recovery team

    A disaster recovery team is a group of individuals focused on planning, implementing, maintaining, auditing and testing an ...

  • cloud insurance

    Cloud insurance is any type of financial or data protection obtained by a cloud service provider. 

  • business continuity software

    Business continuity software is an application or suite designed to make business continuity planning/business continuity ...

SearchStorage

  • storage class memory (SCM)

    Storage class memory (SCM) is a type of NAND flash that includes a power source to ensure that data won't be lost due to a system...

  • Hadoop as a service (HaaS)

    Hadoop as a service (HaaS), also known as Hadoop in the cloud, is a big data analytics framework that stores and analyzes data in...

  • blockchain storage

    Blockchain storage is a way of saving data in a decentralized network which utilizes the unused hard disk space of users across ...

Close