Compression
Compression is an application-layer optimization technique that reduces the size of data transmitted between the server and the client by encoding the response content in a more compact form.
In FortiADC, compression is applied to eligible HTTP responses after the content is generated by the backend server and before it is sent to the client.
How compression works
- The client advertises supported compression algorithms using the Accept-Encoding HTTP header (for example, gzip or deflate).
- FortiADC compresses the response body when the content type (for example, HTML, CSS, JavaScript, JSON, or custom types such as PPT and PDF) and size meet the configured criteria.
- The compressed response is sent with a Content-Encoding header.
- The client automatically decompresses the content before processing it.
For more information, see Configuring compression rules in FortiADC Administration Guide.