Skip to content

Generate resumableFileIdentifier based on a hash #18

@Vincouux

Description

@Vincouux

Problem:
Using UUID for file identifier is a nice approach, but that makes the main benefits of resumable.js useless (avoid uploading same chunk twice). For example, if you stop the upload and restart, it will generate a new UUID, which will be different from the previous for the same file, and start the upload from 0.

Solution:
Hash the content of the file with a given algorithm and use it as file identifier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions