Now that we have some more powerful build tools, we can start implementing some optimizations.
One option might be to load fonts only when needed. One natural split for this is official vs. unofficial. Pages that only use official icons could get a reduction in page loading bandwidth without losing the ability to use unofficial icons (at the cost of an extra round-trip when they do use unofficial icons). We'd have to check that the per-font overhead is not too high, though.
Once incremental font transfer is available in enough browsers, that will also be a great option (assuming it can be bundled): https://w3c.github.io/IFT/Overview.html
(I haven't thought about where the penalty icons would fit into this yet.)
Now that we have some more powerful build tools, we can start implementing some optimizations.
One option might be to load fonts only when needed. One natural split for this is
officialvs.unofficial. Pages that only use official icons could get a reduction in page loading bandwidth without losing the ability to use unofficial icons (at the cost of an extra round-trip when they do use unofficial icons). We'd have to check that the per-font overhead is not too high, though.Once incremental font transfer is available in enough browsers, that will also be a great option (assuming it can be bundled): https://w3c.github.io/IFT/Overview.html
(I haven't thought about where the penalty icons would fit into this yet.)