“The solution to caching GraphQL is to normalize the hierarchical response into a flat collection of records. Relay implements this cache as a map from IDs to records. Each record is a map from field names to field values. Records may also link to other records (allowing it to describe a cyclic graph), and these links are stored as a special value type that references back into the top-level map. With this approach each server record is stored once regardless of how it is fetched.”

Explore more quotes:

About the author

This page was created by our editorial team. Each page is manually curated, researched, collected, and issued by our staff writers. Quotes contained on this page have been double checked for their citations, their accuracy and the impact it will have on our readers.

Kelly Peacock is an accomplished poet and social media expert based in Brooklyn, New York. Kelly has a Bachelor's degree in creative writing from Farieligh Dickinson University and has contributed to many literary and cultural publications. Kelly assists on a wide variety of quote inputting and social media functions for Quote Catalog. Visit her personal website here.

Kendra Syrdal is a writer, editor, partner, and senior publisher for The Thought & Expression Company. Over the last few years she has been personally responsible for writing, editing, and producing over 30+ million pageviews on Thought Catalog.