3 ms·
Thank you for the nice words, glad to hear you like GraphCDN. We don't currently cache partial queries / request layers. For now, I would recommend splitting t
by mxstbr 5y ago
Thank you for the nice words, glad to hear you like GraphCDN.
We don't currently cache partial queries / request layers. For now, I would recommend splitting the query into two requests — one that loads the uncached data and one for the cached data.
We're definitely thinking about this exact use case though, stay tuned!
- graphql 5y agoAh yes, the devil in the details. Partial query caching appears to be the unicorn we all would like to chase, capture, and ultimately study. GraphQL is powerful, But with great power, comes great responsibility, and it is too easy to dig your own grave if blindly jumping in with it. I wonder if we can learn a thing or two, or just flat out steal, some of the concepts used in flagship relational databases. For example, how Postgres has a query optimizer tucked away secretly under the hood that attempts to alter queries to be more efficient.