3 ms·
It's 339 bytes of CSS which loads 2.3k of font css which loads 21k of woff2. 23k requiring two round trips (three if the stylesheet is in a separate file, four
by mort96 8y ago
It's 339 bytes of CSS which loads 2.3k of font css which loads 21k of woff2. 23k requiring two round trips (three if the stylesheet is in a separate file, four including the initial HTML load), and to prevent FOUT, the browser won't show any text at all until all the round trips are completed (or it decides it's taking too long and shows the wrong font). Plus you're adding a dependency on Google for no good reason.
I mean, it's not exactly worse than other websites, it's maybe honestly worth it because Fira looks pretty good, it's just not really 339 bytes.
- moreira 8y agoBear in mind, the parent is talking about the page where this article is posted, not the CSS itself or the font.
- stupidthrottle 8y agoAs an end-user... why should I care if the bloat I download is CSS, or assets pulled via the CSS? There’s literally no distinction.
- moreira 8y agoWe're talking about different pages - one is the page with the blog post about this 339 bytes of responsive CSS (it's 2+MB). The other is the demo page with 339 bytes of CSS + the web font. The former is what the parent was talking about.
- DanBC 8y agoFira looks fucking terrible. Light weight, small, skinny, sans-serif is hard to read for most of the population. It might be okay for 20 years olds with great monitors. It's tedious for everyone else.
- ChrisGranger 8y agoI agree completely regarding light weight fonts. Wikipedia recently changed their mobile view font to Segoe UI Light for body text, and my old eyes can barely read the damn thing.