Automatic persisted queries support in the GraphQL API
The Contentful GraphQL API has been improved to support automatic persisted queries. This improvement brings the following key benefits:
- Greater Request Size Limit – Using persisted queries allows you to overcome the 8 kb request size limitation and send requests up to 16 kb to create bigger, more complex queries.
- Optimized Network Usage – With persisted queries, you reduce network usage since you only send the query string instead of the entire query. This not only conserves bandwidth but also improves the efficiency of data transfer.
- Faster Response Times – Persisted queries allow for efficient query caching, resulting in faster response times. Frequently used queries are stored, eliminating the need for retransmission and reducing server load.
For further details on implementing persisted queries, see the GraphQL API documentation.