Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.md 1.5KB

title: Hébergement de polices

Web font usage has increased significantly in the past couple years. This is great news. However, it also means that web fonts have become a critical part of web sites and, by extension, a performance bottleneck. You may have experienced the dreaded Flash Of Invisible Text (FOIT) while visiting a website on a slow network connection. The decision by some browsers to block rendering of text until web fonts have downloaded is opposite to the tenets of progressive enhancement. Content should come first and web fonts are an enhancement. After all, you can still read the text, even though it might not render in the intended font (well, unless your browser hides text while it is downloading fonts — better pray it uses a timeout).

The State of Web Type (cache)

Suite à ma note de l’autre jour, Google a semble-t-il décidé de mettre certaines de ses polices sur Github (quelle réactivité, merci ! :D). L’occasion de rappeler avec le superbe article d’Opera qu’il y a des limitations à héberger ses propres polices aussi et qu’il faut faire des choix en terme de performances et de ressenti (cache).