Overview

Minifying JavaScript files is an optimization technique to reduce JavaScript payload and the main-thread blocking time.

Minification can help reduce JavaScript file sizes by removing comments, white spaces, and redundant code, also often making the code more efficient by using shorter variable and function names.

How to minify JavaScript?

Under Site Optimizer > CSS, click:

  • Minify JavaScript tags
  • Minify JavaScript files
Try Staq
Create/Migrate a WP site and get up to 90 days free in dev mode for each site.
square-for-kb3