We automatically brotli or gzip request most suitable asset types for you if the browser requests it; no additional config required or possible.
As per Zip deploy: Brotli and deletes; questions not problems - #2 by fool
Using curl
as shown in Bundle file not served GZIP - #4 by luke the gzip version is 45917 and brotli version 44308—or about 4% smaller—as opposed to 212343 uncompressed (all in bytes.) Given the compressed size is 44/45KB and only 4% difference between the two, I see this having a negligible impact on load performance.