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

  • computer worm

    A computer worm is a type of malicious software program whose primary function is to infect other computers while remaining ...

  • Single Sign-On (SSO)

    Single sign-on (SSO) is a session and user authentication service that permits a user to use one set of login credentials (e.g., ...

  • Certified Information Systems Auditor (CISA)

    Certified Information Systems Auditor (CISA) is a certification issued by ISACA to people in charge of ensuring that an ...

SearchHealthIT

SearchDisasterRecovery

  • business continuity plan (BCP)

    A business continuity plan (BCP) is a document that consists of the critical information an organization needs to continue ...

  • 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. 

SearchStorage

  • VRAM (video RAM)

    VRAM (video RAM) is a reference to any type of random access memory (RAM) used to store image data for a computer display.

  • Kilo, mega, giga, tera, peta, exa, zetta and all that

    Kilo, mega, giga, tera, peta, exa, zetta are among the list of prefixes used to denote the quantity of something, such as a byte ...

  • flash memory

    Flash memory, also known as flash storage, is a type of nonvolatile memory that erases data in units called blocks.

Close