a simple web player for subsonic tinysub.devins.page
subsonic navidrome javascript
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: improve virtual scrolling implementation #22

open opened by devins.page

use a wrapper with min-height, and use translateY for the list items. similar to vue-virtual-scroller

right now we have two dynamically resizing spacers, but i think this might be more performant? ill have to test and see

i've only been using tinysub for a few minutes now, but i've been monitoring the requests to my navidrome server i think the virtual scroll implementation may be doing a lot of rest/getCoverArt.view requests as i scroll up and down the page. looking at the network tab, i do see a constant stream of requests for the cover image.

oh wow i didnt even realize that, everything was loading almost instantly since im running the server locally... yeah i will implement caching: https://tangled.org/devins.page/tinysub/issues/9

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:3xpaniu6rs7fygzthgmtuv7c/sh.tangled.repo.issue/3mis7rhgmzb22