Skip to content

Conversation

@Austio
Copy link
Contributor

@Austio Austio commented Jul 22, 2019

This PR adds the ability to turn off prefetching globally during SSR.

Background and usage:

We have a very large graph that serves out requests. Sometimes we will get in a situation where we need to be able to troubleshoot a slow or bad server side render. During this we will normally add a query parameter and if that is preset, we bypass graphql.

With the move to 3.0 and nuxt we no longer have the option to getMatchedComponents and manually run the vue-apollo queries, so to get that behavior we need a way to signal to vue-apollo to not make the requests.

@Akryum Akryum merged commit b0861dd into vuejs:master Sep 3, 2019
@Akryum
Copy link
Member

Akryum commented Sep 3, 2019

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants