-
-
Notifications
You must be signed in to change notification settings - Fork 398
Open
Labels
DocumentationImprovements or additions to documentationImprovements or additions to documentationIcons
Description
Currently, the docs at https://symfony.com/bundles/ux-icons/current/index.html#performance only explain server-side aspects of performance (cache warmup, etc.)
But what about the end user's performance?
If include the same icon 200 times on a page, I will get the entire <svg>...</svg> string included 200 times in the page's source code, right? Those 200 strings cannot be cached.
So in some cases it probably makes more sense to just create an .svg file and include it with <img src="...">, cause this will be cached by the browser.
What's your opinion here? Would you say that (since icon files are usually small) it just doesn't make a difference for most users?
Metadata
Metadata
Assignees
Labels
DocumentationImprovements or additions to documentationImprovements or additions to documentationIcons