how can I use gzip in kong(version:3.4.0)? #13545
Answered
by
subnetmarco
yuchao-java
asked this question in
Help
-
In the Nginx configuration, the gzip module is used to enable and configure compression of the response content to reduce the amount of data transferred, thereby increasing load speed and saving bandwidth. for example: How can I achieve this function quickly and conveniently in kong 3.4.0? |
Beta Was this translation helpful? Give feedback.
Answered by
subnetmarco
Sep 4, 2024
Replies: 1 comment 2 replies
-
In Lua you could use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think he is referring to enabling it on the Kong server as a whole, if we don't provide an easy configuration to configure GZIP on the server using
kong.conf
, then most likely @yuchao-java needs to provide its own Nginx template with those settings enabled: https://docs.konghq.com/gateway/latest/reference/nginx-directives/