SVG vs PNG
Unanswered
Lakeland Terrier posted this in #help-forum
Lakeland TerrierOP
Generally speaking, which would load more quickly on a page with 30+ icons displayed. Say the SVGs are all ~200 lines and the PNGs are 16x16s.
While my project is small I can't tell a difference in performance with either.
While my project is small I can't tell a difference in performance with either.
8 Replies
Netherland Dwarf
I was in a similar situation before and what i noticed was at the end of the day, using images was more optimal
Theyre both the same in terms of how fast it loads
But the build time is longer when using svgs with lines of code and also a bit more loading time when visiting a page
Compared to pngs
However you could still use svg with next image tag but it wont do much optimization besides lazy loading
And thats what i did.
I put my svgs in /public and used next image with them
Lakeland TerrierOP
Thank you so much for the advice!