404kacper / 404kacper/Cloud-Professor-Backend

File uploads - storing files

Aberta
#3 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
0
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Currently the files are stored as binary string inside UserFiles under contents field.
This isn't ideal since base64 encoding for transmission increases the file size by 33%, therefore slowing down both uploading & downloading process.
Instead the file should be compressed before transmission & stored as a zip using Strapi content media library.
To refer that to encryption process - after reading the file from users device (on frontend) the file could be combined into something like file.enc extension since it will be binary encoded string.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.