ltm rule command COMPRESS buffer sizeΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

COMPRESS::buffer_size
       Sets the compression buffer size.

SYNOPSIS
       COMPRESS::buffer_size (request | response)? NONNEGATIVE_INTEGER

DESCRIPTION
       COMPRESS::buffer_size 
	   Sets the compression buffer size according to the value you specify in bytes.

RETURN VALUE
VALID DURING
       HTTP_REQUEST HTTP_REQUEST_DATA HTTP_RESPONSE HTTP_RESPONSE_DATA

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

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.0.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)