Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nova slows down dramatically #14

Open
holubar opened this issue Oct 20, 2022 · 3 comments
Open

Nova slows down dramatically #14

holubar opened this issue Oct 20, 2022 · 3 comments

Comments

@holubar
Copy link

holubar commented Oct 20, 2022

I did not find better package for icons, thank you for great addon. However, when using it, Nova slows down. Every request -> index, edit or detail, where this field is used takes multiple seconds which becomes unusable.

Is there any space for performance optimisation?

@AlexAzartsev
Copy link
Owner

thx for feedback, I'll take a look into this problem, performance issues can depend on how many active icons sets enabled,
as a workaround you can registered your own icon set with limited set of icons, and disable fontawesome icons set. If this approach will suit your needs.

@scramatte
Copy link

Same issue here. I've literally using 10 icons. My question is: If svg data is stored into database why is so slow? Component shouldn't load everything on index.

I'm going to try what you told above. But it will interesting to fix it in another way.

@AlexAzartsev
Copy link
Owner

Yep, performance issues appears because of rendering of all possible values for selection from icons set.
To be able to render them, I need to load it from a backend, now they all loaded at once.

Will work on improvement of this process, but for now, quick fix for you will be to create your custom set of used icons, and disable not used sets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants