News for hackers. Stuff that matters.
Re:REST vs GraphQL vs gRPC by phaedryx on Monday March 15, 2021 @11:53AM (#26467462)
I believe that GraphQL handles this with "persisted queries." Basically, you ask the server to "run standard query 'queryname'." Since it is a standard, predefined query you can cache the results.

Apollo support link: https://www.apollographql.com/docs/apollo-server/performance...

Re:REST vs GraphQL vs gRPC by thinkingkong on Monday March 15, 2021 @12:03PM (#26467644)
The browser supports built in caching without requiring a specific library; additionally the infrastructure of the web provides this as well.
Re:REST vs GraphQL vs gRPC by Mandatum on Monday March 15, 2021 @08:43PM (#26471491)
That sounds like RPC with extra steps..