You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contentful released support for GraphQL APQ (Automated Persisted Queries) which allow for bigger request size and for smaller request payload for most cases over network exchange. It also enabled better caching on CDN and will be an improvement for performance.
We would want to have a GraphQL client that could transparently make use of this feature. APQ is supported by Apollo out of the box.
Unfortunately graphql-request is pretty basic, so we might have to move away from it to something more pluggable, or implement a custom fetcher (not sure if worth the effort): graffle-js/graffle#269
Contentful released support for GraphQL APQ (Automated Persisted Queries) which allow for bigger request size and for smaller request payload for most cases over network exchange. It also enabled better caching on CDN and will be an improvement for performance.
https://www.contentful.com/developers/docs/references/graphql/#/reference/automatic-persisted-queries
We would want to have a GraphQL client that could transparently make use of this feature. APQ is supported by Apollo out of the box.
Unfortunately graphql-request is pretty basic, so we might have to move away from it to something more pluggable, or implement a custom fetcher (not sure if worth the effort):
graffle-js/graffle#269
Apollo also has a NextJS flavored client (experimental) https://github.com/apollographql/apollo-client-nextjs which if used on Server only is pretty stable, but can result in race conditions if used in mixed modes. Unrelated to task at hand, but this write-up hints to some complexity to keep in mind: apollographql/apollo-client-nextjs#132
Consider streaming, Suspense, partial-prerendering are all part of the picture, and Apollo might be too new to adopt.
The text was updated successfully, but these errors were encountered: