Gzip and Brotli are the two data compression programs that you can use when building for Unity WebGL. If you don't know how to convert your project to unity webgl then feel free to follow my unity webgl conversion guide. You have option in WebGL to choose specific compression format or you can even disable the compression too.
HTML Table
| Gzip | Brotli |
|---|---|
| Build files are bigger | Build Files siz is smaller |
| Faster Build time | Slow build time |
| Natively support on all browsers using HTTP/HTTPS | Natively support on Firefox & Chrome only with HTTPS |
You can check compatibility on caniuse.
Read More: Unity WebGL technical Breakdown.
No comments:
Post a Comment