404kacper / 404kacper/Cloud-Professor-Backend

File uploads - storing files

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
0
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。