HelloZeroNet / HelloZeroNet/ZeroNet

deduplication for commonly used files

Offen
#115 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
18.8k
Forks
2.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.