News for hackers. Stuff that matters.
Re:Lessons learned from running GraphQL by lbriner on Saturday September 25, 2021 @07:37AM (#28652307)
It sounds like they are already caching but the problem is what happens when the number of possible queries is so high, you cannot cache them all and also on "live" apps like the football ones, the result of the query might change relatively quickly so can't be cached.

What might be possible is double-level caching, so you cache underlying data and then query from that, the results of which are also cached.

Re:Lessons learned from running GraphQL by timsuchanek on Sunday September 26, 2021 @10:13AM (#28661050)
Depends how fast your data changes. SWR can be very effective for that. I suggest having a look at GraphCDN (bias alert, I’m one of the founders, so take it with some salt ;)