Hey Everyone, we heavily rely on GraphQL at our work place to support queries on our different mobile apps. One of the issues we’ve been facing is high data consumption as a result of the queries we are performing, i’m looking into graphQL compression with gzip, is this supported on the android client side, and how can i implement it?
m
mbonnin
09/29/2020, 9:41 AM
Hi @Jabez Magomere congrats on the first message here 🎉 !!!
👍 2
mbonnin
09/29/2020, 9:41 AM
This should be supported transparently by OkHttp which apollo-android is using behind the scenes
mbonnin
09/29/2020, 9:42 AM
Maybe you'll need to add a
Accept
Accept-Encoding
HTTP header with a custom OkHttpInterceptor
j
Jabez Magomere
09/29/2020, 9:49 AM
@mbonnin Thank you for the explanation, let me try it out.