Open hamedpro opened 1 year ago
before writing an uploaded file to disk, compress it. and whenever this file is requested decompress it first. and if a new file is uploaded but its sha 256 hash is same with an existing file, don't save it again
before writing an uploaded file to disk, compress it. and whenever this file is requested decompress it first. and if a new file is uploaded but its sha 256 hash is same with an existing file, don't save it again