Skip to main content

WordPress Cleanup

What it does

WordPress Cleanup (formerly Other Speed Options) turns off front-end clutter WordPress or Divi may load when you do not need it.

For font preload / preconnect / font-display, see Fonts & Resource Hints. For hiding images on mobile by class, see Smart Image Loading. For revisions and transients, see Database Cleanup.

Where to find it

Divi Engine → Nitro Settings → WordPress Cleanup

Fonts

SettingTypeDefaultWhat it does
Disable Google FontsToggleOffDequeues unused Divi Google Fonts. Does not override fonts added only in some Customizer setups. When this is on, Google font-display swap and Google preconnect do nothing
Disable Open Sans FontToggleOffRemoves Open Sans added by Monarch and default WordPress

Scripts

SettingTypeDefaultWhat it does
Disable Divi ScriptsToggleOffPrevents Divi scripts from loading on pages where the builder is unused. Confirm non-builder templates still work
Enable WooCommerce Script CleanerToggleOffRemoves Woo scripts on pages that do not need them. Can break BodyCommerce mini cart — leave off if mini cart is used widely
Disable Comments JavaScript FileToggleOffRemoves comment script when you do not use comments
Disable JQuery MigrateToggleOffRemoves jQuery Migrate if nothing needs it. Turn off if old plugins break

WordPress extras

SettingTypeDefaultWhat it does
Remove Query StringsToggleOffStrips version query args from static files. Test CDNs carefully
Remove WordPress EmojiToggleOffRemoves emoji scripts and styles
Remove Un-used Header CodeToggleOffStrips RSD, Windows Live Writer, generator, relational links, and shortlinks
Disable HeartbeatToggleOffReduces WordPress Heartbeat API requests. May affect real-time editor features
Legacy URL

Older docs used /Features/other-speed-options. That content now lives here.

What's Next