Delay JavaScript
What it does
Delay JavaScript waits to run many front-end scripts until the visitor interacts with the page (or a short timeout passes). That can improve early load metrics, but it is also one of the most common reasons a site “looks broken” after enabling performance tools.
Where to find it
Divi Engine → Nitro Settings → Scripts & CSS (Delay JavaScript)
Defaults that protect Divi Engine
By default, Nitro keeps jQuery and Divi Engine form/filter scripts immediate so Ajax Filter, Form Builder, and related features keep working. Divi Engine scripts also stay out of Minify and Delay queues by default.
When to use it
- After a Safe or Balanced preset is stable
- When another plugin is not already delaying JavaScript (overlap guidance)
When to turn it off
- Menus, sliders, filters, forms, or chat widgets only work after a click/scroll
- First step in Nitro broke my site
warning
Do not enable Delay JavaScript in Nitro and in LiteSpeed / WP Rocket at the same time.