Re:React, Relay and GraphQL: Under the Hood of the Times Web...
by dmitriid on Saturday July 01, 2017 @02:35PM
(#14678305)
A website that should heavily depend on caching relies on tech that allows only POST requests (non-cacheable, non-idempotent) and hopes for workarounds later
[ Parent
| on HN ]
Re:React, Relay and GraphQL: Under the Hood of the Times Web...
by djmashko2 on Saturday July 01, 2017 @08:09PM
(#14679895)
GraphQL definitely allows GET and supports HTTP caching just as well as any other kind of API!
Re:React, Relay and GraphQL: Under the Hood of the Times Web...
by dmitriid on Sunday July 02, 2017 @06:07AM
(#14681805)
GETs for GraphQL are awkward at best
The caching section in GraphQL docs is cringe worthy, and, as evidenced by the article, that's exactly what Times are going to do: try to slap global ids everywhere and pretend it's ok