property
quic.SessionOptions.certificateCompression
Enables TLS certificate compression (RFC 8879) for this session. When omitted, certificate compression is disabled.
On the server side, the certificate chain is compressed using the first listed algorithm that the client advertises support for. On the client side, the listed algorithms are advertised to the server so that the server may compress its certificate. When client authentication is in use, the option also controls compression of the client's certificate.
Compressing the certificate chain is especially useful for QUIC because it reduces the size of the server's first flight, which is bounded by the anti-amplification limit (see Certificate size and handshake performance). Certificate compression requires TLS 1.3, which QUIC always uses.
At most three algorithms may be specified. The option is silently ignored if Node.js was built against a shared OpenSSL that lacks certificate compression support.