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

  • PCI DSS (Payment Card Industry Data Security Standard)

    The Payment Card Industry Data Security Standard (PCI DSS) is a widely accepted set of policies and procedures intended to ...

  • risk management

    Risk management is the process of identifying, assessing and controlling threats to an organization's capital and earnings.

  • compliance framework

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

SearchSecurity

  • Trojan horse (computing)

    In computing, a Trojan horse is a program downloaded and installed on a computer that appears harmless, but is, in fact, ...

  • identity theft

    Identity theft, also known as identity fraud, is a crime in which an imposter obtains key pieces of personally identifiable ...

  • DNS over HTTPS (DoH)

    DNS over HTTPS (DoH) is a relatively new protocol that encrypts domain name system traffic by passing DNS queries through a ...

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

SearchStorage

  • M.2 SSD

    An M.2 SSD is a solid-state drive (SSD) that conforms to a computer industry specification and is used in internally mounted ...

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

  • virtual memory

    Virtual memory is a memory management capability of an operating system (OS) that uses hardware and software to allow a computer ...

Close