Skip to main content

Fonts & Resource Hints

What it does

Fonts & Resource Hints improve how browsers load fonts and connect to third-party hosts. To turn Google Fonts or Open Sans off entirely, use WordPress Cleanup. When Google Fonts are disabled there, Google swap and Google preconnect do nothing.

Watch the walkthrough

Starts at 12:59 in the Divi Nitro 5.0 walkthrough.

Where to find it

Divi Engine → Nitro Settings → Fonts & Resource Hints

Settings

SettingTypeDefaultWhat it does
Use font-display: swap for Google FontsToggleOffShow fallback text immediately, then swap in Google Fonts. Does not change fonts added only through the Divi Customizer
Preload font filesTextemptyOne HTTPS .woff or .woff2 URL per line for critical above-the-fold fonts
Enable preconnectToggleOffOpen early connections to third-party hosts. Does not download fonts or videos by itself
Preconnect Google FontsToggleOn (when preconnect is on)Warm fonts.googleapis.com and fonts.gstatic.com
Preconnect YouTubeToggleOffWarm YouTube player and thumbnail hosts
Preconnect VimeoToggleOffWarm Vimeo player and CDN hosts
Custom preconnect hostsTextemptyOne hostname per line (for example cdn.example.com). No https://

Tips

  • Preconnect only hosts you actually use on most pages.
  • Avoid duplicating the same preconnect/preload rules in WP Rocket or LiteSpeed.
  • If fonts flash incorrectly, disable preload/swap temporarily while testing.

What's Next