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

Cache /object_info #3334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

miabrahams
Copy link
Contributor

If you have a lot of custom nodes installed, it can take a while to iterate through all of them. This takes page reload from 5s to under 1s on my machine.

AFAIK new nodes are never added after startup so the cache remains valid.

If you have a lot of custom nodes installed, it can take a while to iterate through all of them.
This takes page reload from 5s to under 1s on my machine.

AFAIK new nodes are never added after startup, so the cache remains valid.
@ltdrdata
Copy link
Contributor

If this method is applied, the refresh will not be reflected.

@miabrahams
Copy link
Contributor Author

I see I see, hmm. One option would be to create a "quick reload" route and "full refresh" route. The latter would only happen when you press the button, so f5 and new tab would be faster. But many users likely hit f5 to do a full refresh, so it would be an unexpected change in behavior.

I don't have another good solution off the top of my head.

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

Successfully merging this pull request may close these issues.

None yet

2 participants