How to configure Brotli compression and cache headers for WebGL assets?
Pre-compress .wasm, .data and .js build files with Brotli at build time, serve them with Content-Encoding: br and the correct Content-Type, and set long, immutable cache headers on hashed filenames while keeping the HTML page uncached.