← Graph

graphql-ruby-fragment-cache

tool 1 connections

Ruby gem that caches fragments (individual fields) at the GraphQL API layer in graphql-ruby. Fields declare cache_fragment blocks with keys built from dynamic variables/timestamps so values auto-invalidate when inputs change. Useful for expensive resolvers, with the caveat that cache invalidation remains a hard problem.

category
library
language
Ruby
about
graphql-ruby-fragment-cache tool
Demonstrated as API-layer fragment caching for expensive fields.

Provenance

Read by
5 extractions