4 ms·
That's correct, you destroy HTTP-level caching. (For one, your queries can be large so are POSTed anyway.) Relay is a caching layer that understands GraphQL s
by paulddraper 11y ago
That's correct, you destroy HTTP-level caching.
(For one, your queries can be large so are POSTed anyway.)
Relay is a caching layer that understands GraphQL semantics, but you no longer have transparent HTTP proxies, browser caching, etc. Though HTTP proxies are dead thanks to HTTPS, and with modern browser APIs, you can do your own limited caching.
It's certainly a tradeoff for what you expect to give you best performance gains: fewer roundtrips, or more caching by third parties.
- T-R 11y ago> Though HTTP proxies are dead thanks to HTTPS Well, they're not as broadly useful as without HTTPS, but you can still always MITM yourself to get a free transparent caching layer between the client and your end server.