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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Requiring browser cache / IndexedDB for SaaS app?

3 点作者 truetraveller超过 3 年前
I&#x27;m developing a desktop SaaS app that relies heavily on local browser caching, using IndexedDB. This is to reduce server load. This is a part of the business strategy.<p>I am making IndexedDB a requirement to use the app. IndexedDB is available on 97% of all browsers. If IndexedDB support is not found, I will show a popup.<p>Is this reasonable? Do you thinks users would make a fuss? Are there any corporate policies that disable the local cache, or clear it when the browser closes?

2 条评论

ssss11超过 3 年前
I don’t see a problem with this - but have a think what the outcome is for the user if they don’t have it. Can they use the app without local cache? Is there functionality impacted? I’d suggest looking into localForage instead of indexeddb directly I found it easier.<p>Edit: also maybe look into private mode (incognito) as that probably clears cache on exit
评论 #28726073 未加载
astlouis44超过 3 年前
Are you working with 3D? If so, you should look into Google&#x27;s Cache Storage API.<p><a href="https:&#x2F;&#x2F;web.dev&#x2F;cache-api-quick-guide&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.dev&#x2F;cache-api-quick-guide&#x2F;</a>
评论 #28724586 未加载