Class CompressionMode (1.20.1)

CompressionMode(value)

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.

Enums

Name Description
UNDEFINED_COMPRESSION_MODE A value indicating that the enum field is not set.
AUTOMATIC Automatically uses the best compression based on the Accept-Encoding header sent by the client.
DISABLED Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients.