Is OMGF (Pro) compatible with WP Rocket?

Yes!

Since v3.18 WP Rocket has its own Self-host Google Fonts option. However, OMGF and OMGF Pro have proven to be much more reliable when it comes to local Google Fonts.

All you need to do is, make sure WP Rocket’s Self-host Google Fonts option is disabled.

To deactivate this feature, you can go to the Media tab, click on the Self-host Google Fonts locally checkbox and save changes.

Using OMGF Pro? Then also disable WP Rocket’s Preload Fonts option, right above Self-host Google Fonts, and let Smart Optimize take care of preloading. WP Rocket’s option is a list of font files you keep up to date yourself, while Smart Optimize preloads the fonts each page shows first, and stays in sync when you change your fonts.

Why use OMGF Pro instead?

Use one plugin for your Google Fonts, not both. Both serve your fonts from your own server, but OMGF Pro also makes every page lighter:

  • Removes unused fonts per page: Smart Optimize loads only the weights and styles each page actually uses.
  • Preloads the right fonts automatically: Smart Optimize preloads the fonts in the visible part of each page, so your text appears sooner.
  • Finds every Google Font: also fonts loaded in other stylesheets, inline styles or by JavaScript. See Is my theme compatible with OMGF (Pro)?

Using the free OMGF? Then upgrade to OMGF Pro to get all of this automatically.