Jump to content

Featured Replies

Posted

Hi. I would suggest considering adding the font-display attribute to Font Awesome & Google Fonts to remove the warning in Google PageSpeed Insights.

More at: Ensure text remains visible during webfont load

Warning:

font-awesome-wwff.png.3ed5ff214e4858f7ba1c3599f9c86d87.png

Solution:

fd-css.png.2422db9be057d8c5a4128911dae2d8b3.png

and add parametr display=optional to https://fonts.googleapis.com

<link href="https://fonts.googleapis.com/css?family=Inter:300,300i,400,400i,500,700,700i&display=optional" rel="stylesheet" referrerpolicy="origin">

Best regards.

Edited by SeNioR-

  • 10 months later...

Thanks for this neat tip. I got rid of that error and earned a few extra scores for my site 🙂

  • Author

You're welcome 🙂 In IPS 4.6 this attribute has already been added, but with the "block" value.

Yeah but while my main project is on 4.4 its useful now :)

Recently Browsing 0

  • No registered users viewing this page.