I have a spring boot API and i have enabled the HTTP response compression by using the below properties.
server:
compression:
enabled: true
mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
min-response-size: 1024
I tested the API locally on postman after and before the property change, and its not reducing the response size after the compression, my response has size of 280 KB. But i could see that the response header contains Content-Encoding as gzip and Transfer-Encoding is chunked.
So any idea on why the response size is not getting reduced?