trungvose / angular-spotify

Spotify client built with Angular 15, Nx Workspace, ngrx, TailwindCSS and ng-zorro

Home Page:http://spotify.trungk18.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: Load the liked songs Async and cache in Local Storage

wellington1993 opened this issue · comments

HI,

Nice work. I have an suggestion:
Load the liked songs in the background(Service worker?) and save the list in the Local Storage.

I have 10k liked song and the browser crash when I try to load the liked song list.
Maybe an live stream teaching that?

Thanks!

@wellington1993 Thanks for the suggestion. I haven't added the liked song list yet. So I am not sure when you mentioned browser crash. Was you use the 'real' Spotify app itself?
Because technically I think they won't give me a list of 10000 songs in one go, It will be paginated so that we don't have to worry about this problem :)