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

Import pruning #2

Open
nomego opened this issue Jul 28, 2015 · 2 comments
Open

Import pruning #2

nomego opened this issue Jul 28, 2015 · 2 comments

Comments

@nomego
Copy link
Contributor

nomego commented Jul 28, 2015

The should be a way to configure the maximum amount of routes that will be maintained when it comes to imports and DOM-elements.
Once that number is hit, least used routes should be pruned along with their imports.

Note: Multiple views might come from the same vulcanized import.

@megheaiulian
Copy link
Collaborator

I think this issue no longer makes sense and can be closed. @nomego

@nomego
Copy link
Contributor Author

nomego commented Mar 13, 2020

Actually this is still relevant but the wording should be changed.
Unless the behavior changed in your refactor?

This issue addresses the opportunity to not wipe routes (but persist them) so the state is unchanged if you navigate back to it, but to do that we must include some kind of (estimated) memory management to know when we should dump views to free memory.

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

No branches or pull requests

2 participants