Skip to content

Files

Latest commit

 

History

History
19 lines (11 loc) · 537 Bytes

google-font-preconnect.md

File metadata and controls

19 lines (11 loc) · 537 Bytes

Pattern: Missing use of preconnect resource hint

Issue: -

Description

A preconnect resource hint was not used with a request to the Google Fonts domain. Adding preconnect is recommended to initiate an early connection to the origin.

Possible Ways to Fix It

Add rel="preconnect" to the Google Font domain <link> tag:

<link rel="preconnect" href="https://fonts.gstatic.com" />

Further Reading