Skip to main content

CSS & JS Minification

What it does

Asset minification reduces CSS and JavaScript file size and can combine files into fewer requests. Nitro 5 adds Smart Minify suggestions and an improved Frontend Asset Helper in the admin bar so you can review scripts and styles, apply safer queues, and clear minify cache without guessing every handle.

Where to find it

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

Quick start

  1. Enable the Frontend Asset Helper (admin bar helper).
  2. Open your homepage on the front end and open the helper from the admin bar.
  3. Review scripts and styles. Prefer Smart Minify suggestions / safe queues.
  4. Enable script and/or style minification in Nitro Settings and apply the suggested queues.
  5. Click Clear Minify Cache, save, and test logged out.
tip

The helper hides admin-only items, keeps Divi and protected items out of public queues, and pre-checks items already queued.

Manual queue workflow (advanced)

If you need full control:

  1. Copy handles from the helper’s JavaScript or CSS lists.
  2. Paste them into the Javascript or CSS minification queue fields.
  3. Save and clear minify cache.
  4. If something breaks, follow Minify troubleshooting.

Important defaults

  • Divi Engine scripts stay out of Minify (and Delay JavaScript) by default.
  • Do not also minify/combine the same assets in LiteSpeed, WP Rocket, or WP-Optimize.

If something breaks

Go to Minify troubleshooting or the full Nitro broke my site flow. Common first removals: divi-custom-script, et-common-core (JS); child/parent theme styles (CSS).

What's Next