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

Optimize page loading by caching playlist items #32

Open
akdasa opened this issue Aug 5, 2024 · 0 comments
Open

Optimize page loading by caching playlist items #32

akdasa opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@akdasa
Copy link
Member

akdasa commented Aug 5, 2024

optimization: there is no reason to fetch all playlist items again and agian, we can cache it

const [
tracks,
playlistItems
] = await Promise.all([
library.tracks.getAll(), // TODO: filter by query
userData.playlistItems.service.getAll()
])

@akdasa akdasa changed the title Optimize page loading by caching playlist items Assignees: @akdasa Labels: enhancement,bug,good first issue Milestone: Projects: Lectorium Alpha Optimize page loading by caching playlist items Aug 5, 2024
@akdasa akdasa self-assigned this Aug 5, 2024
@akdasa akdasa added bug Something isn't working enhancement New feature or request good first issue Good for newcomers labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

1 participant