Tyler Sticka digs in right here in the absolute best manner: by making a check web page and actually measuring efficiency. Possibly 1,000 icons is a little bit bit of an edge case, however hey, 250 rows of information with 4 icons in every will get you there. Tyler covers the nuances rigorously within the submit. The completely different methods examined: inline <svg>, same-document sprite <image>s, external-document sprite <image>s, <img> with an exterior supply, <img> with a knowledge URL, <img> with a filter, <div> with a background-image of an exterior supply, <div> with a background-image of a knowledge URL, and a <div> with a masks. Phew! That’s so much — and they’re all helpful methods in their very own proper.
Which method gained? Inline <svg>, except the SVGs are quite complicated, then <img> is best. That’s what I might have put my cash on. I’ve been on that practice for some time now.
At Marketing Solution Australia we strive to deliverer elegant responsive websites for your business integrated with our personal SEO Optimization package to bring your pages on the first page of Google.