Skip to Content

Web player and UI performance

How the web player loads catalog pages, keeps controls responsive, and updates playback.

Album, artist, and playlist links can stage data before opening their destination. The current page exposes progress while the request runs. Once the destination opens, its loader can consume the route's prefetched response instead of issuing the same request again. Rapid navigation cancels the superseded preload. Lazy image loading observes the viewport or the relevant scrolling shelf.

Playback responsiveness

The browser advances its display using a local playback clock and reconciles it against backend snapshots. Browser clients use finite requests and bounded device-presence waits. The UI represents pending playback and handoffs independently of confirmed device state. A page refresh can reconnect within the browser output's grace period.

Responsive controls

The shared web player includes a searchable catalog, contextual track actions, queue controls, and an output picker. Compact layouts adapt navigation and expose track actions in a mobile sheet. The Jam dialog opens within the player so the queue and playback state remain available while managing the room.

Installed web app and caching

Compatible browsers can install the web player as a PWA. The service worker uses versioned static caches and a network-first navigation path. The worker passes authentication redirects through and leaves API requests on the network. Audio requests use the normal network streaming path, including byte range handling. Android manages its own offline downloads.

View the web player source

On this page