4 ms·
If you look at facebook's Relay implementation the graphql queries are indeed sent as POSTs. https://github.com/facebook/relay/blob/master/src/network-layer/de
by hhw3h 11y ago
If you look at facebook's Relay implementation the graphql queries are indeed sent as POSTs.
https://github.com/facebook/relay/blob/master/src/network-layer/default/RelayDefaultNetworkLayer.js#L155 https://github.com/facebook/relay/blob/master/src/network-la...
- nathancahill 11y agoInteresting. I wonder how that plays with caching. Most caches ignore POST requests.
- tiglionabbit 11y agoYou don't want to use the browser's cache here. You can cache the properties in a more granular way yourself. Relay will do that for you.
- nathancahill 11y agoYeah, I guess I was thinking more about the server side.