OpenSwoole's built-in http_compression is enabled by default in App::run(). The response below is ~2.7 KB raw but is sent as Content-Encoding: gzip when the client advertises it.
gzip, br, zstd, deflate ✓ gzip supported gzip (depends on your Accept-Encoding)