DEV Community

Discussion on: 4 reasons why you should use GraphQL over REST APIs

 
kfwerf profile image
Kenneth van der Werf • Edited

thats very academic, but just don't do that then. i haven't seen an impact yet on our side, but what you are saying is probably true, sounds like the caching approach should be different, e.g. order on the fly. not saying its not a problem, i'm just saying were not having that problem, yet.

Or actually thinking about it, sounds like maybe caching in the wrong place, just cache the most used case and then sort on all the results? Otherwise i guess yeah you would need to cache for all those cases, taking up space.

Some comments have been hidden by the post's author - find out more