ionicons icon indicating copy to clipboard operation
ionicons copied to clipboard

(ionicons 5/6) Excessive server requests to individual svg files

Open APinchofDill opened this issue 3 years ago • 1 comments
trafficstars

Hey ionic framework community,

We are using just ionicons v5 on our website and one of the on-going todo’s is to increase site speed. We have noticed that ion icons request each SVG file individually on first load which causes an exponential growth of server timings depending on how many are used on a page.

We have used ion icons v2 and v4 in the past and these come bundled with a font .SVG or .WOFF file. The new versions of ion icons use individual SVGs. Is there a way to request all icons in a single request or is this a feature that could be addressed in the future?

Thank you,

(I posted this on the forums with no reply, so posted here hoping for some input)

APinchofDill avatar Aug 31 '22 14:08 APinchofDill

You can download the designer pack, all the individual .svg files. Then you can repackage them in the format you want.

JALabba avatar Sep 20 '22 08:09 JALabba

Thanks for the report. Can you please provide a GitHub repo that I can use to verify this behavior?

liamdebeasi avatar Oct 14 '22 18:10 liamdebeasi

Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionicons, please create a new issue and ensure the template is fully filled out.

Thank you for using Ionicons!

ionitron-bot[bot] avatar Oct 28 '22 18:10 ionitron-bot[bot]