processwire / processwire-requests

ProcessWire feature requests.
39 stars 0 forks source link

Option to automatically zip uploaded files #510

Open hiboudev opened 10 months ago

hiboudev commented 10 months ago

Short description of the enhancement

Actually there's an option to automatically unzip uploaded files, I'd like the opposite: automatically zip uploaded files.

Goal is to save disk usage. In my project, admin users will upload thousands of text files for the next years, some files can have a size up to 20-30 MB. Compressing this text files will reduce total size by a good ratio.

I know zip/unzip will take more CPU resources but that's a compromise against disk usage.