Skip to main content

Error: Ensure text remains visible during webfont load [Resolved]

 Hi Guys, If you are running or developing a website you may encounter this error on Google page speed or GtMetrix, We should consider the following approach to get rid of this error.

Suggestion 1:

Load the fonts from your server, Even if you are using google fonts you should download and host it on your server. 

Suggestion 2: 

Use the font-display: swap CSS property while implementing custom fonts, this means the system default fonts will be loaded first and then the custom font is visible, hence text will remain visible.


Comments