Compressed communication – GZIP
- Respond using JSON.
- GraphQL spec does not require it.
- But it is:
- Easy to read and debug.
- Very familiar to client and API developers.
- For better network performance:
- Enable GZIP.
- Clients should send the header:
Accept-Encoding: gzip.