GraphQL Cache logo

GraphQL Cache

A custom caching plugin for graphql-ruby
+ 1

What is GraphQL Cache?

A custom middleware for graphql-ruby that handles key construction and cache reads/writes transparently.
GraphQL Cache is a tool in the Cache category of a tech stack.
GraphQL Cache is an open source tool with 264 GitHub stars and 16 GitHub forks. Here鈥檚 a link to GraphQL Cache's open source repository on GitHub

Who uses GraphQL Cache?


19 developers on StackShare have stated that they use GraphQL Cache.

GraphQL Cache Integrations

Why developers like GraphQL Cache?

Here鈥檚 a list of reasons why companies and developers use GraphQL Cache
Top Reasons
Be the first to leave a pro
Public Decisions about GraphQL Cache

Here are some stack decisions, common use cases and reviews by companies and developers who chose GraphQL Cache in their tech stack.

Michael Kelly
Michael Kelly
Senior Software Engineer at StackShare | 5 upvotes 6.3K views
GraphQL Ruby
GraphQL Ruby
GraphQL Cache
GraphQL Cache

When we went all in on adopting GraphQL Ruby as our backend API standard there wasn't any good way to handle fine grain caching of resolved fields. We could hack around it caching the entire JSON document, but this was too heavy-handed. We also needed to expose real-time fields next to large cached collections in our schema which isn't possible this way.

To solve the problem we built GraphQL Cache which is a custom plugin for GraphQL Ruby that provides field-level caching. The gem integrates with Rails so that it can be easily dropped into an app and used to cache computational or network intensive resolvers at a layer similar to the Rails controllers we're all used to. For more information on why and how GraphQL Cache came to be, read the blog post linked to this decision.

See more

GraphQL Cache's Features

  • Open source

GraphQL Cache Alternatives & Comparisons

What are some alternatives to GraphQL Cache?
GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.
Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.

GraphQL Cache's Followers
30 developers follow GraphQL Cache to keep up with related blogs and decisions.
Elang Indra
Corrado Ciotti
Mangesh Nimodia
Carlos Castillo
Jerry Koerkenmeier
Nurullah 脰zdemir
Matthew Castrillon-Madrigal