HelloZeroNet / HelloZeroNet/ZeroNet

deduplication for commonly used files

Aperta
#115 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.