I am using ob_start("ob_gzhandler") to gzip the response that I am sending from my API. It is working fine on my developer machine as well as on staging environment.
However, when I deployed my API in a production environment it is giving me an error that server is not responding.
I think there is some extension to be enabled for using gzip compression. Can you please help me in the resolution of the issue.