Skip to content

Commit 8af7275

Browse files
[Icons] Docs: Adding info on enduser performance
Page: https://symfony.com/bundles/ux-icons/current/index.html#performance Info is taken from #2782 (comment)
1 parent 825476f commit 8af7275

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Icons/doc/index.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,12 @@ of the following attributes: ``aria-label``, ``aria-labelledby`` or ``title``.
456456
Performance
457457
-----------
458458

459-
The UX Icons component is designed to be fast. The following are some of
459+
When including the same icon multiple times on one page, the same string (SVG content)
460+
is inserted repeatedly in the HTML source. However, since most icons are small (just a few
461+
hundred bytes), this overhead is negligible in most cases (especiall wthen proper
462+
transfer encoding like e.g. gzip is enabled).
463+
464+
On the server side, the UX Icons component is designed to be fast. The following are some of
460465
the optimizations made to ensure the best performance possible.
461466

462467
Caching

0 commit comments

Comments
 (0)