News for hackers. Stuff that matters.
Re:Self-host your fonts for better performance by marcus_holmes on Friday December 04, 2020 @04:43PM (#25308495)
1. If you use, say, 5 icons and there are, say, 250 icons in the full font, then you would need to download the page 50 times to just equal the bandwidth. That's assuming the cache doesn't expire, or it's not an incognito session, or you're not loading it from a CDN where it won't get cached anyway.

2. If you do find this irresponsible, then by all means create a small SVG file with the 5 icons in it and allow that to be cached, or even 5 small individual SVG files if it comes to that.

There are no comments on this comment yet.