TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How does Spotify manage API requests?

1 点作者 user0x1d大约 4 年前
My internet connection is really bad so I noticed something about Spotify. Whenever I load my &#x27;Liked songs&#x27; playlist, whichever song I select will play for the first 10 seconds and then stop (due to my bad internet connection).<p>That made me wonder: does Spotify loads the first 10 seconds of the perhaps first few songs from that list and then, as songs are played, make other requests to get songs in their entirety?<p>Also, could WireShark be used to check how requests work? Not sure how to verify that traffic from a phone. I&#x27;m assuming checking for XHR requests in the browser would yield different results due to different design decisions.

暂无评论

暂无评论