Commit Graph

1 Commits

Author SHA1 Message Date
Qi Xiao
b49523345e website: Serve fonts as individual files.
Upsides:

- Removing the render-blocking fonts.css allows the page to be visible while the
  font is being loaded.

- The original WOFF2 files are smaller than the base64-encoded version in
  fonts.css.

- Browsers may be smart enough to not download fonts that are not needed.

The only downside is that this requires the browser to make more requests - up
to 6 for all 6 font files. But this is not a problem with modern browsers.
2021-11-10 23:43:44 +00:00