HelloZeroNet / HelloZeroNet/ZeroNet

deduplication for commonly used files

Open
#115 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.