Closed tris203 closed 9 months ago
Added additional code to address #61 Also fixes #49
Awesome!
Is GZIP the best compression we can use here? Maybe we can test lzma2 for even better results
Is GZIP the best compression we can use here? Maybe we can test lzma2 for even better results
Brotli was the best in my tests but the package is huge Gzip seemed the best balance of speed, compression and package size and browser support
I looked at gzip, deflate and brotli
I also renamed some variables to make the data flow clearer
Will get to merging this soon.
Actually, maybe we should add some compatibility feature to detect if inflation is used for past links to work?
Actually, maybe we should add some compatibility feature to detect if inflation is used for past links to work?
I did think that old links would be broken, but I dont know how long people keep them around for...there was also fairly severe limitations in the URL length, so I dont think it got used that often...
Actually, maybe we should add some compatibility feature to detect if inflation is used for past links to work?
I did think that old links would be broken, but I dont know how long people keep them around for...there was also fairly severe limitations in the URL length, so I dont think it got used that often...
Still, I think it's not that hard to add backwards compatibility here and it's a good practice in general.
Added backwards compatability
Should be the final review round :) Sorry it's taking so long, been busy lately.
Looks good! Merging!
Remove un-needed params from download URLs and run through GZIP compression before base64ing them when generating a Share URL Do the reverse on the Files page when decoding them.
Proposal in #23
fixes #61 fixes #49 fixes #23