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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

File Versioning, Caching & Hashing

2 点作者 natabbotts大约 14 年前

1 comment

asharp大约 14 年前
Interesting, and very close to the implementation of Etags.<p>On the upside, it means that files that haven't been changed won't ever be rerequested without needing a round trip to the remote server.<p>On the downside, you clutter up caches with "dead" but not yet expired files, and you have to deal with scripts every time you change files, which is likely to decrease the reliability of your site and provide a new point of failure.