1. Home
  2. Glossary
  3. Minification
Performance

Minification

Removing whitespace, comments and other unneeded characters from HTML, CSS and JavaScript so the files are smaller. The code behaves the same.

Why it matters

Smaller files download and parse faster. It is a safe, automatic step in most build tools and pairs well with compression.

Where you will see it

The free Page weight checker looks at this on a live page and explains what it finds in plain English: measure HTML, scripts, styles and images, find the heaviest files and render-blocking resources.

Related terms

  • Page weight: The total size of all files a browser downloads to show a page: HTML, CSS, JavaScript, images, fonts and more.
  • Gzip: A widely supported compression format for text responses.
  • Render-blocking resource: A CSS or JavaScript file the browser must download and process before it can show the page.

Go deeper

  • Page weight explained: What page weight means, which files make pages heavy, how to measure transferred size, and practical ways to shrink images, scripts, fonts and video.

← All 66 glossary terms

↑ ↓ to moveEnter to openEsc to closeAll results