ant-design-icons
ant-design-icons copied to clipboard
Add ability to cache icons with local/session storage
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