Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Introduction to Front End Performance Optimization Combine and Minify Assets Create a Sprite Map

Janis Celms
Janis Celms
44,170 Points

Combining lots of more complex svg icons

I am working on a project where user will be able to pick and chose icons that he will see on his page (hopefully such abstract explanation helps to somewhat understand the situation). I have like 30+ somewhat complex svg icons in project folder.

Is it a good idea to combine them?

Silvio Heinze
Silvio Heinze
16,400 Points

There is no general answer to this. If the icons are so complex that the svgs are larger files, it's probably better to have them as individual files. Especially since they don't need to get loaded at once, if I understand you right.

The faster your site loads, the higher the chances are that the users will stay. Amazon increases it's sales for a product by 1% for each 100ms a page loads faster ;)