We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great if response headers from the GraphQL request done on server would be exposed to serverSidePostQuery.
serverSidePostQuery
Use-case: Backend can set the cache-control header on GraphQL responses, which could be read in serverSidePostQuery and set on the page:
cache-control
serverSidePostQuery: (_, ctx) => { ctx.res.setHeader( 'cache-control', headerFromBackend ); }
Could try to contribute this, if you think this makes sense and would be open to accepting PR for it.
The text was updated successfully, but these errors were encountered:
This is a great idea! Would happily accept a PR!
Sorry, something went wrong.
No branches or pull requests
It would be great if response headers from the GraphQL request done on server would be exposed to
serverSidePostQuery
.Use-case:
Backend can set the
cache-control
header on GraphQL responses, which could be read inserverSidePostQuery
and set on the page:Could try to contribute this, if you think this makes sense and would be open to accepting PR for it.
The text was updated successfully, but these errors were encountered: