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

library.svg file for templates does not seem to be used #2177

Closed
KonstantinEpam23 opened this issue Feb 6, 2023 · 2 comments · Fixed by #3973 or #3994
Closed

library.svg file for templates does not seem to be used #2177

KonstantinEpam23 opened this issue Feb 6, 2023 · 2 comments · Fixed by #3973 or #3994

Comments

@KonstantinEpam23
Copy link
Collaborator

Background
library.svg file seems to be storing pre-rendered svg templates from library.sdf
At the moment the templates sdf file includes bindings to library.svg file, but it does not seem like the prerendered elements are being used, meanwhile the file weighs around 2.5MB and slows down initial page loading.
Screenshot 2023-02-06 at 11 31 31

Solution
Investigate if library.svg file is used, if it is - introduce gzip and caching on the infrastructure level for this file, if not - remove the file and do not request it from the client side.

@KonstantinEpam23
Copy link
Collaborator Author

Could relate to #2598

@rrodionov91
Copy link
Collaborator

library.svg usage was removed in #900
It needs to remove file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment