Hacker News new | ask | show | jobs
by akira2501 696 days ago
> but might waste bandwidth if used for SVGs used often, like a logo or icon.

You can put SVGs into a <TEMPLATE>. I've used this for "site and social icons" to great effect.

1 comments

This is actually what popped out of my head as I read the article. Did you observe other trade-offs with this approach?
It requires javascript to instantiate the actual elements. Otherwise, none.