Hacker News new | ask | show | jobs
by phaedryx 1917 days ago
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...

2 comments

The browser supports built in caching without requiring a specific library; additionally the infrastructure of the web provides this as well.
That sounds like RPC with extra steps..