Glossary

What is minification?

Minification strips spaces and comments from code files to make them smaller. How much it helps and where to switch it on.

1 min readBy Wiredeo

Definition

Minification (also minify)

Removing spaces, line breaks and comments from code files so they download faster. It doesn’t change what the code does.

In plain English

Code written for humans has spacing and notes; browsers don’t need them. Minifying squeezes them out.

Example

A caching plugin on WordPress often has “minify CSS” and “minify JavaScript” options. Builders do it for you.

Why it matters to your business

It’s a small, safe win compared with resizing images or removing plugins. If switching it on breaks something, switch it off and tell your developer.

← All website terms A to Z

Filed under Running your site

Next step

See how your own site does

Our free check looks at HTTPS, phones, software, speed basics and more in a few seconds.

Check your site Request an audit