mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[GH-ISSUE #316] Cache playlist to avoid interface loading time #225
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#225
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gagarine on GitHub (Jul 16, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/316
When you click on a playlist, you have to wait about 1s for the interface to load while psst do a network request. This is not the case with "Albums" for example.
I think playlist could be cached (and perhaps all fetched in the background at launch). When you click tracks list could then be instantly display. The network request can be done in the background once you opened a playlist and only if the playlist changed, then the interface could be updated.
This would give a
@jacksongoode commented on GitHub (Aug 17, 2022):
This is a nice idea, how would you imagine the playlist gets updated? Just a hard refresh of the view once the request for the playlist is complete?
@gagarine commented on GitHub (Aug 18, 2022):
Yes. Hard refresh is certainly fine. One things would be to keep the selected track if the user had the time to select one before the hard refresh happens.