- Issue created by @mogtofu33
- Merge request !258Issue #3499930 by mogtofu33: Proposition: icon from svg sprite instead of svg files → (Closed) created by mogtofu33
- 🇫🇷France Grimreaper France 🇫🇷
More efficient on parsing the file and loading the icons for the backend?
Or more efficient for the visitor browsing the website?
- 🇫🇷France mogtofu33
Faster on both sides, for discovery and a better in front at least after first download...
SVG Sprite could be use with CDN but not public one because of CORS, so it's an edge case optimization.As it's just a suggestion I understand we could keep to SVG. My mind is not fully set on that.
- 🇫🇷France Grimreaper France 🇫🇷
Hi,
As discussed,the problem is that then visitors will have to download a 1.1Mo file for a few icons on a page. Even if the download is only on first page, I would like to avoid that so perf tools like lighthouse will not say anything.