ant-design-icons icon indicating copy to clipboard operation
ant-design-icons copied to clipboard

Add ability to cache icons with local/session storage

Open danielbrazg opened this issue 7 months ago • 0 comments

Instead of doing many HTTP GET requests to fetch each icon (dynamically) every time the page is been refreshed, it will be useful to add support for caching the icon's SVG data in the local/session storage. It can be done by reading the icons cached list also from the storage if it exists: https://github.com/ant-design/ant-design-icons/blob/master/packages/icons-angular/src/component/icon.service.ts#L78C5-L78C5 Thanks

danielbrazg avatar Jan 04 '24 09:01 danielbrazg