COMPRESS::buffer_size

Description

Sets the compression buffer size.

Syntax

COMPRESS::buffer_size <value>

COMPRESS::buffer_size <value>

  • Sets the compression buffer size according to the value you specify in bytes.

Examples

when HTTP_RESPONSE {
  if { [HTTP::header Content-Type] contains "text/html;charset=UTF-8"} {
    COMPRESS::buffer_size 10240
    COMPRESS::enable
  }
}