aem-boilerplate icon indicating copy to clipboard operation
aem-boilerplate copied to clipboard

icon is requested for each time it is used on the page

Open kptdobe opened this issue 2 years ago • 0 comments

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.

kptdobe avatar Dec 02 '22 10:12 kptdobe