Persisted DocumentsExperimental
A Persisted Document is a document that is cached on the server side, along with its unique identifier. Clients can send this identifier instead of the corresponding query string, thus reducing request sizes dramatically. In particular, this allows:
- Reducing network traffic.
- Smaller bundle size.
- Validating documents only once.
- Easier caching using HTTP GET.
More info: https://spec.graphql.org/draft/#sec-Query
Projects
| Project Name | Supported Since | Note |
|---|---|---|
| Apollo Client | The protocol for persisted documents is still TBD |
|
| Apollo Kotlin | The protocol for persisted documents is still TBD |
|
| Apollo Router | The protocol for persisted documents is still TBD |
|
| Apollo Server | The protocol for persisted documents is still TBD |
|
| Apollo iOS | The protocol for persisted documents is still TBD |
|
| Domain Graph Service (DGS) Framework | The protocol for persisted documents is still TBD |
|
| GraphQL Code Generator | ? | Know the status of this feature? Let us know! |
| GraphQL Java | N/A | |
| GraphQL Kotlin | The protocol for persisted documents is still TBD |
|
| GraphQL Yoga | The protocol for persisted documents is still TBD. With the |
|
| GraphQL.js | N/A | |
| GraphiQL | - | |
| Grats | N/A | |
| Hive Gateway | The protocol for persisted documents is still TBD |
|
| Hot Chocolate | The protocol for persisted documents is still TBD |
|
| Relay | ? | Know the status of this feature? Let us know! |
| Spring for GraphQL | ? | Know the status of this feature? Let us know! |
| gql.tada | N/A | gql.tada is transport agnostic. |
| urql | ? | Know the status of this feature? Let us know! |