Hi,
Just to piggyback on this dfx deploy with gzip · Issue #2357 · dfinity/sdk · GitHub
I want to use gzip for our canisters because the massive size.
From my tests I was able to successfully gzip my test canister through dfx build and the installed wasm is around 2.5x-2.8x smaller in size.
This is how: motoko-test/dfx.json at main · gabrielnic/motoko-test · GitHub and motoko-test/compress.sh at main · gabrielnic/motoko-test · GitHub
Now my question is: is this the best way to do it?
The issue with this is I still have to “manually” create the wasm and the did files. I don’t have a problem with that but I’m wondering if there’s a better way. For reference I use motoko.
cc: @claudio