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
TBD: Refactor the whole logic to just batch all necessary queries into one call, to avoid several roundtrips altogether.
This will be especially notable when fallback rendering is happening and storefront and api have some network distance.
Rationale for why this feature is necessary
Currently. each GraphQL Query for SSG is awaited and then the next one is executed.
Expected use cases
Data fetching in getStaticProps, which needs to be for every page.
Additional context
Not sure if batching is an appropriate term here, as the goal would be to only have one batch ;)
Will probably solve this together with #703.
The text was updated successfully, but these errors were encountered:
Summary description
Run fetch calls in parallel
TBD: Refactor the whole logic to just batch all necessary queries into one call, to avoid several roundtrips altogether.
This will be especially notable when fallback rendering is happening and storefront and api have some network distance.
Rationale for why this feature is necessary
Currently. each GraphQL Query for SSG is awaited and then the next one is executed.
Expected use cases
Data fetching in
getStaticProps
, which needs to be for every page.Additional context
Not sure if batching is an appropriate term here, as the goal would be to only have one batch ;)
Will probably solve this together with #703.
The text was updated successfully, but these errors were encountered: