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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The building blocks of offline support

83 点作者 pketh超过 1 年前

4 条评论

jamestanderson超过 1 年前
It&#x27;s really cool to see offline support done well. It can be very frustrating when it&#x27;s done poorly, or not offered at all.<p>One of my biggest gripes with the Spotify app is the poor offline support, at least in my experience on Android. I have the bulk of my library downloaded for offline listening, so when I have a spotty network connection like when I&#x27;m on the Subway, I&#x27;d expect that I can still easily access at least my downloaded songs. Not the case. Spotify, it seems, won&#x27;t use its local cache until it&#x27;s thoroughly convinced you&#x27;re offline, which may take several minutes of waiting for requests to time out. Once Spotify is convinced I&#x27;m offline, my downloaded songs will then finally load normally.<p>My guess is that instead of doing it the way the Kinopio does - by reading from the local cache before fetching the remote data - Spotify does it the other way around.<p>Anyway, nicely done!
评论 #39106255 未加载
评论 #39117781 未加载
tmikaeld超过 1 年前
This is really impressive and I like the app, it&#x27;s fast and powerful.<p>However, I wouldn&#x27;t consider using it without better undo, if i merge a set of cards by mistake it cannot be undone. Maybe store a larger undo history in IndexedDB?
评论 #39103384 未加载
tussa超过 1 年前
It conveniently doesn&#x27;t mention the hardest part: conflicts.<p>If you just drop a conflicting edit then it&#x27;s a stretch to call your app &quot;offline&quot;. Yes, it &quot;works&quot; but who wants to use an application to at drops you edits?
评论 #39103807 未加载
评论 #39103547 未加载
评论 #39101646 未加载
评论 #39103472 未加载
评论 #39106281 未加载
jiehong超过 1 年前
That first load time was pretty long, though (like 4 seconds).<p>Felt as if it checked online or loaded too many things.
评论 #39103446 未加载
评论 #39103521 未加载