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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Idea: keep clientside js in localStorage

1 点作者 dominictarr大约 13 年前
client side javascripters aim for minimal code, to optimise load times; but what if you didn't have to worry about that? My idea is to store slowly changing assets in localStorage and then just have a tiny js that loads them into the page.<p>has anyone attempted this before?

2 条评论

willscott大约 13 年前
Why would this be preferable to an application cache manifest?<p><a href="http://www.html5rocks.com/en/tutorials/appcache/beginner/" rel="nofollow">http://www.html5rocks.com/en/tutorials/appcache/beginner/</a>
评论 #3882493 未加载
daegloe大约 13 年前
Is this really necessary when you already have browser caching? Which is fairly robust/mature across the market.
评论 #3882497 未加载