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

Powered by:

SearchCompliance

  • compliance framework

    A compliance framework is a structured set of guidelines that details an organization's processes for maintaining accordance with...

  • regulatory compliance

    Regulatory compliance is an organization's adherence to laws, regulations, guidelines and specifications relevant to its business...

  • privacy compliance

    Privacy compliance is a company's accordance with established personal information protection guidelines, specifications or ...

SearchSecurity

SearchHealthIT

  • telemedicine (telehealth)

    Telemedicine is the remote delivery of healthcare services, such as health assessments or consultations, over the ...

  • Project Nightingale

    Project Nightingale is a controversial partnership between Google and Ascension, the second largest health system in the United ...

  • medical practice management (MPM) software

    Medical practice management (MPM) software is a collection of computerized services used by healthcare professionals and ...

SearchDisasterRecovery

  • disaster recovery (DR) test

    A disaster recovery test (DR test) is the examination of each step in a disaster recovery plan as outlined in an organization's ...

  • 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 (DR)

    Disaster recovery (DR) is an area of security planning that aims to protect an organization from the effects of significant ...

SearchStorage

  • kilobyte (KB or Kbyte)

    A kilobyte (KB or Kbyte) is a unit of measurement for computer memory or data storage used by mathematics and computer science ...

  • megabytes per second (MBps)

    Megabytes per second (MBps) is a unit of measurement for data transfer speed to and from a computer storage device.

  • zettabyte

    A zettabyte is a unit of measurement used by technology professionals and the general public to describe a computer or other ...

Close