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

Initial load times for content are horrible #1201

Closed
humphd opened this issue Oct 14, 2020 · 1 comment · Fixed by #1217
Closed

Initial load times for content are horrible #1201

humphd opened this issue Oct 14, 2020 · 1 comment · Fixed by #1217
Labels
area: performance Issues related to our performance type: bug Something isn't working

Comments

@humphd
Copy link
Contributor

humphd commented Oct 14, 2020

Our app loads fast, but the content takes forever. On my machine it can take 25s before the main content appears, which includes:

  • hero banner image
  • stats
  • posts

When I profile it, it appears to all be blocking on network I/O (nothing else is happening):

Screen Shot 2020-10-14 at 6 45 42 PM

If I hit those routes via curl, they are super fast. So I'm not sure why they suddenly conspire to take 25s together.

@humphd humphd added type: bug Something isn't working area: performance Issues related to our performance labels Oct 14, 2020
@humphd
Copy link
Contributor Author

humphd commented Oct 15, 2020

Looking at this again right now, it seems to me that we get back the result of /posts?page=1 and then it blocks on all the multiple requests happening in the browser. You can see the turtle icon beside all the blocked requests the browser is waiting on (Firefox):

Screen Shot 2020-10-14 at 10 16 24 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: performance Issues related to our performance type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant