Only download used font files #8
Labels
good first issue
Good for newcomers
optimization
Speed things up
research
Further research is required
Taking a screenshot on usegripeless.com needs around 7MB of resources to be downloaded on the first run (latter runs use browser cache) - most of which being imported fonts which the library currently blindly inlines even though 95% of the imported files aren't actually being used.
A potential solution is to use
Document.fonts
in newer browsers, haven't researched it extra deeply though.The text was updated successfully, but these errors were encountered: