Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Store all files only once #238

Open
Mikaela opened this issue Feb 2, 2018 · 2 comments
Open

Store all files only once #238

Mikaela opened this issue Feb 2, 2018 · 2 comments

Comments

@Mikaela
Copy link
Collaborator

Mikaela commented Feb 2, 2018

Pre-#232 this was done by disabling randomization which now results to #237.

In #232 @Bysmyyr commented:

sounds good, the better way should be hash the file to get id for it->same file stored only once.

@Mikaela
Copy link
Collaborator Author

Mikaela commented Feb 4, 2018

(Labeling also as a bug, because the same file shouldn't be uploadable many times as a different file to take space.)

@Tuupertunut
Copy link
Contributor

Tuupertunut commented May 17, 2018

The latest development version now has a hash-based link cache for imgur links. (see imgur-utils.js) That could be used as a reference implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants