Skip to main content

HTML Minification

What it does

HTML minification compresses inline HTML, CSS, and JavaScript in the page output to reduce size after your main asset minify queues are working.

Where to find it

Divi Engine → Nitro Settings → Scripts & CSS

How to enable

  1. Finish and test CSS & JS Minification first.
  2. Enable inline minification (HTML, inline CSS & JS).
  3. Save, clear caches, and test key pages logged out.
warning

On some sites, inline minification can break markup or scripts. If anything looks wrong, turn it off immediately — it is high on the Nitro broke my site checklist.

What's Next