HelloZeroNet / HelloZeroNet/ZeroNet
deduplication for commonly used files
- 主要语言
- JavaScript
- 星标
- 18.8k
- 派生
- 2.3k
- PR 合并指标
- 30 天内没有已合并 PR
描述
An idea to reduce storage usage is to try and stop storing multiple copies of the same file, e.g bootstrap.css.
One way could be to have a CDN - a website that just contains all the commonly used files, bootstrap, jquery, etc. which users can cross site link to rather than using a local copy on their website. This would be complicated though as it would require cross site linking of resources, and Zero Net automatically adding the dependency website as a seed ( or force everyone to have it?)
Another option would be to use deduplication on the file system level. The advantage of this would be that all files are deduplicated rather than just common ones. There are already packages out there that do this - create CRCs of all the files, check for duplicates, and replace them with symlinks.
Currently ZeroNet isn't big enough to make a difference, but in the future this could help save a lot of space?
贡献指南
这个仓库没有索引到贡献指南
调研方向
The issue names no files, tests, or entry points. Compare the proposed CDN dependency approach with filesystem-level deduplication using CRCs and symlinks, then identify which part of ZeroNet would own the change. Done should mean a defined approach that reduces duplicate storage without breaking resource loading or seeding behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- bootstrap, javascript, jquery
- 领域
- backend, infrastructure
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100