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

Fix that Graphryder Dashboard obtains all data twice from Graphryder API #27

Open
tanius opened this issue Oct 22, 2019 · 0 comments
Open

Comments

@tanius
Copy link
Member

tanius commented Oct 22, 2019

Just made a funny observation in the "Network" tab of Chrome's web developer tools: when reloading the Graphryder Dashboard frontpage, there are two identical sets of requests to the API. Means, the JSON data (usually the biggest chunk of data to be loaded at startup) is loaded twice, obviously making the startup slower that it has to be. Here are the requests that I see when reloading https://graphryder1.edgeryders.eu/#!/dashboard/globalView:

https://graphryder1.edgeryders.eu/api/users
https://graphryder1.edgeryders.eu/api/posts
https://graphryder1.edgeryders.eu/api/comments
https://graphryder1.edgeryders.eu/api/tags
…
https://graphryder1.edgeryders.eu/api/users
https://graphryder1.edgeryders.eu/api/posts
https://graphryder1.edgeryders.eu/api/comments
https://graphryder1.edgeryders.eu/api/tags
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

No branches or pull requests

1 participant