Skip to main content

HTML Minification

What it does

HTML minification compresses inline HTML, CSS, and JavaScript in the page output. It is the inline minification control on the Minify screen — not a separate sidebar item.

Where to find it

Divi Engine → Nitro Settings → Scripts & CSS → Minify (inline minification)

Settings

SettingTypeDefaultWhat it does
Inline minificationRadioDisabledMinifies inline HTML, CSS, and JavaScript after your main CSS/JS queues are working

How to enable

  1. Finish and test CSS & JS Minification first.
  2. Enable inline minification.
  3. Save, clear caches, and test key pages logged out.
High risk

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