Choose a compression format for your bundle distribution.
zip - Standard ZIP format (DEFLATE algorithm). Fast compression and decompression.tar.gz - TAR archive with GZIP compression (LZ77 algorithm). ~10-15% smaller than ZIP.tar.br - TAR archive with Brotli compression. ~20-30% smaller than GZIP. Developed by Google for web compression.Set compressStrategy in your hot-updater.config.ts:
After setting the compression strategy, deploy your bundle:
The bundle will be compressed and deployed using the specified format.
How it works:
Since the client handles all formats transparently, choose the format with the best compression ratio (tar.br or tar.gz) to reduce download sizes for your users.