Miss-you opened a new issue #2720:
URL: https://github.com/apache/apisix/issues/2720
### Issue description
Gzip is a file format used for file compression and decompression. It is
based on the Deflate algorithm that allows files to be made smaller in size
which allows for faster network transfers. Gzip is commonly supported by web
servers and modern browsers, meaning that servers can automatically compress
files with Gzip before sending them, and browsers can uncompress files upon
receiving them.
1. gzip is turned off by default
2. recommended nginx.conf demo: (if gzip is turned on)
```
gzip on;
gzip_min_length 1K;
gzip_buffers 32 4K;
gzip_http_version 1.0;
gzip_comp_level 1;
gzip_types application/atom+xml application/javascript
application/x-javascript application/json application/rss+xml
application/vnd.ms-fontobject application/x-font-ttf
application/x-web-app-manifest+json application/xhtml+xml application/xml
font/opentype image/svg+xml image/x-icon text/css text/javascript text/plain
text/x-component;
gzip_vary on;
```
### Environment
* apisix version (cmd: `apisix version`):
* OS:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]