S
S
Smeecy Smeecy2017-07-28 15:35:19
css
Smeecy Smeecy, 2017-07-28 15:35:19

A few questions about fonts and pagespeed insight?

1 Is one TTF or OTF format enough to display on most devices and browsers?
2. If not, what font formats should be used to display correctly in most browsers and devices?
3. Google PageSpeed ​​Insight often complains about uncompressed fonts. How can they be compressed?
4. And is it worth considering these criteria at all, which PageSpeed ​​Insight swears at? Basically I always have 3 points that Google does not like (and what about the last point if I have all the code compiled automatically):
- Turn on compression
- Use the browser cache
- Remove JavaScript and CSS code that blocks the display of the top of the page

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2017-07-28
@Wekeed

1. caniuse.com/#search=ttf , caniuse.com/#search=otf .
2. I would lean towards woff . Well, or woff in combination with eot , if you need old IE.
3. Google PageSpeed ​​Insight generally swears a lot. Such is his character. First of all, compression is usually understood as the removal of all unnecessary characters from a font (you rarely have more than 1-2 languages ​​on your site, so a full set is usually not needed).
4. Is it worth considering these criteria at all, which PageSpeed ​​Insight swears at? - Not. This test shows you the bottlenecks to look out for, but first of all you have to see with your own eyes. I have seen sites that load in less than a second and at the same time have a score of 30-40 on this test, or even less, and I have seen sites that load in 8-10 seconds with a score of 95-100.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question