stopachka / stopablog-archived

[Archive] The blog, powered by OneGraph : )
https://www.stopa.io
6 stars 1 forks source link

Use get requests for persisted query operations #281

Closed dwwoelfel closed 3 years ago

dwwoelfel commented 3 years ago

Sends GET requests to /graphql when the operation in the persisted graphql document is a "query".

We recently added support for GET requests for persisted queries to leverage caching by the CDN. This will help prevent exceeding rate limits and will help with latency, since the full request can be served from one of Google's edge locations.

Tested on https://essay.dev

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/stopa/stopablog/HypiTRjE6Lh9RuP4HcY1TsmGXqqr
✅ Preview: Failed

stopachka commented 3 years ago

loove it!