Optimize Google Fonts

Optimize Google Fonts

Optimize Google Fonts will:

  • Combine all Google Fonts on the page to reduce HTTP requests.
  • Self-host Google Fonts (download and save fonts locally).
  • Inline Google Fonts CSS.

Why some Google Fonts are not Self-hosted

When the Google Fonts are injected by external JavaScript files (like reCAPTCHA, webfont.js), FlyingPress can't optimize them.

The Google Fonts should be found in the HTML as a thumb rule. The embed code will look like this:

<link
  href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
  rel="stylesheet"
/>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.