Entering content frameBackground documentation ~http_use_compression Locate the document in its SAP Library structure

Description

Enables / disables HTTP compression.

To reduce the size of data sent from the server to the Web browser, increase transmission speed, and reduce the overall network load, you can use HTTP compression. Most standard Web browsers support decompression and display of compressed text/html transmissions.

The ITS uses the "gzip" utility for compressing files and verifies that the Web browser supports this by checking HTTP request headers for the "Accept-Encoding" field.

If the Web browser supports the "gunzip" utility for decompressing files, ~http_use_compression is set to 1 and the response type is text/html, the ITS specifies "gzip" compression in the "Content-Encoding" field of the HTTP response header and the transmitted data is compressed.

  • In the SAP GUI for HTML, ~http_use_compression is set to 1 by default.
  • In other cases, you have to set ~http_use_compression explicitly.

When you have enabled HTTP compression, you can set the compression level by specifying a value for ~http_compress_level.

Set by

Service file.

Values

SAP GUI for HTML

0

HTTP compression disabled.

1

HTTP compression enabled (default).

Other models

0

HTTP compression disabled (default).

1

HTTP compression enabled.

Example

~http_use_compression    1
~http_compress_level     6

Valid from

Release 4.6D.

Leaving content frame