I want to compress my flutter web bundle with something like gzip to try and reduce the initial download time. How can I implement this?
You don’t have to do this. Netlify automatically serves HTML, CSS, JS among other files with Brotli compression which is better than GZip in compression ratios. However, the support depends on browsers. Most modern browsers support Brotli, but if they don’t Netlify will serve with GZip. If even GZip isn’t supported by the browser, Netlify will fall back to no compression.