The compression option on NSX Advanced Load Balancer enables HTTP Gzip compression for responses from NSX Advanced Load Balancer to the client.
It is highly recommended to enable compression with caching, which together can dramatically reduce the CPU costs of compressing content. When both compression and caching are enabled, an object such as the index.html file will need to be compressed only one time. After an object is compressed, the compressed object is served out of the cache for subsequent requests. NSX Advanced Load Balancer does not needlessly re-compress the object for every client request. For clients that do not support compression, NSX Advanced Load Balancer also caches an uncompressed version of the object.