You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
Describe the bug
Anilist does limit the API for 90 requests per minute, I notice that you're using getServerSideProps, have you ever facing the problem that the server can't fetch the data due to ratelimit?
To Reproduce
Steps to reproduce the behavior:
Just go to some anime page over and over until the server reaches anilist's ratelimit. (I guess)?
Expected behavior
Some workarounds to avoid the anilist's ratelimit
Additional context
We could use CSR for this, but we can't SEO if using CSR and that's the huge pay-off.
The text was updated successfully, but these errors were encountered:
We can use incremental server side generation with revalidating cache every 5min or 10min. But this will only work with homepage I think.
Sure we could do that, also one thing that I didn't mention, if you send multiple requests that happens too fast, you'll get rate limit too, so I think you could wait a few seconds (2.5 seconds must be an ideal time) to avoid that.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Anilist does limit the API for 90 requests per minute, I notice that you're using getServerSideProps, have you ever facing the problem that the server can't fetch the data due to ratelimit?
To Reproduce
Steps to reproduce the behavior:
Just go to some anime page over and over until the server reaches anilist's ratelimit. (I guess)?
Expected behavior
Some workarounds to avoid the anilist's ratelimit
Additional context
We could use CSR for this, but we can't SEO if using CSR and that's the huge pay-off.
The text was updated successfully, but these errors were encountered: