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

use cache to improve loading speed of components #864

Closed
dfguerrerom opened this issue Aug 8, 2023 · 2 comments
Closed

use cache to improve loading speed of components #864

dfguerrerom opened this issue Aug 8, 2023 · 2 comments
Labels
enhancement New feature or request needs discussion needs discussion

Comments

@dfguerrerom
Copy link
Collaborator

I've already done a super simple implementation of using cache on f7eda5a, instead of always instantiate view elements, we can store and only change them if there's a change, with this implementation, the performance of the component in terms of speed has increased up to 90%.

I think we can scale up this solution to instead of store the current elements in the object itself, we can save them into a serialized file, and not only increase the time of the component during the session but for all of them.

@12rambau
Copy link
Member

12rambau commented Aug 8, 2023

I see your point and that's a great idea. So you would like to apply ot every widget reloading istself ? (dropdowns, lists, etc...)

@dfguerrerom
Copy link
Collaborator Author

this cannot be done in other components...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs discussion needs discussion
Projects
None yet
Development

No branches or pull requests

2 participants