element-hq / element-hq/synapse

Content repo should name content by hashes to factor out duplicates (SYN-401)

Open
#1,328 0 comments 0 reactions 0 assignees View on GitHub
A-Media-Repository T-Enhancement z-feature
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 6h
Merged PRs (30d)
46

Description

This issue has been migrated from [#1328](https://github.com/matrix-org/synapse/issues/1328).

---

Quite a nice feature in Amdocs UC is that all content in the content repository is named based on a hash of the contents. This means that even if people upload lots of duplicates of the same file (e.g. hundreds of identical animated GIFs) they don't waste disk space. Might be nice to have this in synapse too.

(Imported from https://matrix.org/jira/browse/SYN-401)

(Reported by @ara4n)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.