Join Slack
Powered by
Hello. Our JSON endpoint in our Api construct does...
# help
g
Graham Tremper
06/08/2022, 6:47 PM
Hello. Our JSON endpoint in our Api construct doesn't seem to have gzip compression enabled for our responses. Is there a way to turn that on? Thanks!
f
Frank
06/09/2022, 2:32 AM
Hey
@Graham Tremper
, the
Api
construct uses API Gateway HTTP API, and I don’t think HTTP API supports compression out of the box.
Frank
06/09/2022, 2:32 AM
See if this post helps in setting it up manually
https://medium.com/@vanbergstephane/gzip-aws-lambda-http-api-gateway-6b9c6431c564
g
Graham Tremper
06/09/2022, 3:12 AM
Thanks!
4
Views
Open in Slack
Previous
Next