News for hackers. Stuff that matters.
Re:Show HN: GraphCDN – GraphQL CDN with edge caching and ana... by hermanradtke on Thursday June 17, 2021 @10:53AM (#27540211)
What happens when the query string gets too long?
Re:Show HN: GraphCDN – GraphQL CDN with edge caching and ana... by timsuchanek on Thursday June 17, 2021 @10:59AM (#27540280)
The question that had to be asked :D First of all, with the current query string size, you can already send quite big queries (8kb), which should suffice for many use-cases. The introspection query, already quite huge for reference is 1kb. For the ones who need more - splitting the values into `Vary` headers is an option to further increase it. At some point - around 50kb there just is a hard limit. If you then want to send an even bigger query - we have persisted queries on our roadmap. Then you'd just send a hash.