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

load the network stats earlier during the page load #186

Open
gruns opened this issue Jun 15, 2023 · 1 comment
Open

load the network stats earlier during the page load #186

gruns opened this issue Jun 15, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request Low Priority

Comments

@gruns
Copy link
Contributor

gruns commented Jun 15, 2023

after #185, the next optimization to load the network stats faster is to fire off the network request earlier during the page load

two techniques to accomplish this come to mind:

  1. add a cache header to the response so its cached and then add a <link rel="preload" ... tag to fetch this content async immediately on page load
  2. modify the js to make the request earlier

this isnt much work but is also very low priority. network stats load speed is, right now, currently in the 'acceptable' range

@gruns gruns added enhancement New feature or request Low Priority labels Jun 15, 2023
@patrickwoodhead
Copy link
Contributor

It seems the network stats sometimes are not loading in time and so can fail and default to 100 nodes. This is not always the behaviour, but occurs if the request takes more than 10 seconds to resolve.
image

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

No branches or pull requests

3 participants