Graphql-engine: add gzip compression

Created on 20 Dec 2018  路  4Comments  路  Source: hasura/graphql-engine

perhaps someone could point me in the right direction.... is there a way to enable gzip compression on queries?

https://blog.hasura.io/architecture-of-a-high-performance-graphql-to-sql-server-58d9944b8a87

I see it being referred to, but cant find any examples of it. When doing large requests, i see the accept-encoding header of gzip, deflate but not on the response at all (content-encoding). Am i looking at this correctly?

TIA

server quickfix enhancement medium

Most helpful comment

Hi, graphql-engine doesn't do any sort gzip compression of the response. However you can add a reverse proxy like caddy or nginx to do this.

All 4 comments

Hi, graphql-engine doesn't do any sort gzip compression of the response. However you can add a reverse proxy like caddy or nginx to do this.

I'm closing this issue. @jvice152 if you have any further questions, please re-open it 馃檪

I guess this issue should be closed as it has been fixed by https://github.com/hasura/graphql-engine/pull/2751 ?

Yes indeed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jjangga0214 picture jjangga0214  路  3Comments

stereobooster picture stereobooster  路  3Comments

Fortidude picture Fortidude  路  3Comments

codepunkt picture codepunkt  路  3Comments

lishine picture lishine  路  3Comments