Site logo

Archived topic

Google font delivery

3 replies · Started by Philip on November 1, 2021

Viewing posts 1–4 of 4

Hi Guys,

It's my understanding that when Google Fonts are loaded externally, Google detects the operating system and browser of the requesting device, and delivers only the optimal font format (EOT, TTF, WOFF, etc).

When Google Fonts are chosen in the Customizer, does GeneratePress (or GenerateBlocks) modify this process in any way? Say, delivering only WOFF2 fonts when WOFF would be the best format?

Thanks.

Phil

-----

Host: WP Engine
Server: Nginx
PHP: 7.4.24
WordPress: 5.8.1
GeneratePress theme: 3.0.4 with starter child theme
GP Premium: 2.0.3
GenerateBlocks: 1.3.5
Perfmatters: 1.7.9
The SEO Framework: 4.1.5.1
Gravity Forms: 2.5.10

Hi there,

No GP and GB don't modify the request behaviour for google fonts - this is an example of the requests it generates:

<link rel="stylesheet" id="generate-google-fonts-css" href="https://fonts.googleapis.com/css?family=Montserrat%3A300%2C300italic%2Cregular%2Citalic%2C500%2C500italic%2C600%2C600italic&display=auto&ver=3.1.0" media="all">

Understood. Thanks David.

You're welcome

This archived topic is closed to new replies.