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

Questions take too long to load #15

Open
yassinedoghri opened this issue May 21, 2018 · 0 comments
Open

Questions take too long to load #15

yassinedoghri opened this issue May 21, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@yassinedoghri
Copy link
Owner

Why? Description.
Questions take too long to load because of the Marvel API (sometimes more than 10 seconds). It's frustrating to players so they end up closing the game and not reaching the result screen.

How? Multiple solutions

  • Request gziped response from Marvel API (doesn't seem to work)
    • Contact Marvel and describe the problem.
  • Load all of the questions from the Marvel API when first clicking play (might take too long)
  • Load next question asynchronously when player is answering current question.
  • Store all of the Marvel characters (can't get updated information, might be too heavy, might be against Marvel API's General Conditions of Use.

Additional context
This problem affects the game play experience as players have to wait too long between each question.
The problem was non-existent during first weeks of development (maybe because of the Jarvig code?)

@yassinedoghri yassinedoghri added bug Something isn't working enhancement New feature or request labels May 21, 2018
@yassinedoghri yassinedoghri removed the bug Something isn't working label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant