aem-boilerplate
aem-boilerplate copied to clipboard
icon is requested for each time it is used on the page
If you use the same icon 20 times on the page, you will see 20 requests being made in the network tab. This can be optimised by requesting only each icon once and potentially cache the result for the next decorateIcons
calls.