5 ms·
It is extremely difficult to deal with this issue on the developer's side. My solution has been to embed the font in the format the most commonly used directly
by jvzr 14y ago
It is extremely difficult to deal with this issue on the developer's side.
My solution has been to embed the font in the format the most commonly used directly into the CSS. Then I Gzip it and put it on a CDN. My blog now loads under 200ms almost anywhere, and there is no flash of unstyled text.
But I realize achieving those load times may be hard for a heavy web application/site.
- cousin_it 14y ago"Give thanks to nature, the bountiful, because it has made necessary things easy to procure, while things hard to obtain are not necessary." -- Epicurus
- huhtenberg 14y agoArguably, things are promoted to being necessary if they are easy to procure. Otherwise they remain optional. -- V.Pupkin :)
- bjustin 14y agoHow fast does it load on a cellular connection in the country it is hosted? It would be great if it loaded in <200ms on fast cell networks.
- jvzr 14y agoI'll try that tonight when I have access to my Mac (remote-debugging with dev tools). Until then, I can tell you approximately that the DNS shakeup takes 5 seconds, the server/CDN shakeup takes 1 more and the loading/painting is near-instantaneous. Will post solid numbers tonight.