I've set up keycloak-gatekeeper and all works super fine, but I need gzip compression support on keycloak-gatekeeper level, cause if I test request to my application without keycloak and keycloak-gatekeeper, it compress content with gzip, I can see in Developer Tools "Content Encoding" gzip for java scripts and css files.
If I use keyckloak and keyckloak-gatekeeper for my application- it doesn't compress content with gzip.
On my inbound nginx proxy, I've set up the following:
gzip on;
gzip_types text/plain text/css application/javascript application/x-javascript text/javascript application/json;
gzip_proxied any;
On nginx levele compression works.
I suppose this feature is in "compress/gzip" package for GO.
What:
I've set up keycloak-gatekeeper and all works super fine, but I need gzip compression support on keycloak-gatekeeper level, cause if I test request to my application without keycloak and keycloak-gatekeeper, it compress content with gzip, I can see in Developer Tools "Content Encoding" gzip for java scripts and css files. If I use keyckloak and keyckloak-gatekeeper for my application- it doesn't compress content with gzip.
On my inbound nginx proxy, I've set up the following: gzip on; gzip_types text/plain text/css application/javascript application/x-javascript text/javascript application/json; gzip_proxied any; On nginx levele compression works.
I suppose this feature is in "compress/gzip" package for GO.
Could you please add this feature for gatekeeper? Might be relevant some documentation here: https://golang.org/pkg/compress/gzip/ https://medium.com/axiomzenteam/put-your-http-requests-on-a-diet-3e1e52333014 https://subscription.packtpub.com/book/web_development/9781787286740/1/ch01lvl1sec14/optimizing-http-server-responses-with-gzip-compression
Reference: