mbhall88 / masters_project

0 stars 0 forks source link

Compress (gzip) files when they're uploaded. #19

Open mbhall88 opened 7 years ago

mbhall88 commented 7 years ago

Use zlib within node.js to compress files when they are uploaded. This will reduce storage space required in the future.

mbhall88 commented 7 years ago

Look into a way of checking if the file being uploaded is already compressed. NB: there are many compressed formats so look into whether this can be handled efficiently without have to do a million if statements to check the file extension.