Skip to content

Decrease waves of traffic #62

@pavelkomarov

Description

@pavelkomarov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedFix reliant on something I can't controlenhancementNew feature or requesthelp wantedAid from the community is desired

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions