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

Decrease waves of traffic #62

Open
pavelkomarov opened this issue Sep 4, 2024 · 0 comments
Open

Decrease waves of traffic #62

pavelkomarov opened this issue Sep 4, 2024 · 0 comments
Labels
blocked Fix reliant on something I can't control enhancement New feature or request help wanted Aid from the community is desired

Comments

@pavelkomarov
Copy link
Owner

pavelkomarov commented Sep 4, 2024

We finally solved #32, but in doing so we have to grab albums, which can only be gotten 20 at a time. Even using a Set to deduplicate these queries, that 20 limit slows down the app quite a bit.

We could get rid of queries to the artists endpoint if genre information were populated in the album responses, but the genres fields come back as empty lists! Unless/until Spotify fixes this, we're stuck querying both endpoints.

We could alternatively make genres, record label, and audio features optional in the output by adding a selector to the UI and switching in the code.

@pavelkomarov pavelkomarov added enhancement New feature or request help wanted Aid from the community is desired blocked Fix reliant on something I can't control labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Fix reliant on something I can't control enhancement New feature or request help wanted Aid from the community is desired
Projects
None yet
Development

No branches or pull requests

1 participant