f / graphql.js

A Simple and Isomorphic GraphQL Client for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Caching

good-idea opened this issue · comments

Is implementing a cache within the scope of this project?

Object caching would be ideal, but either would be nice. I suppose caching the query (if you mean caching the results of a particular query) could be as simple as generating a hash from the query string to use as a key. I don't know much about GraphQL response metadata though, so I don't know if this would mess up any timestamps.

Just wondering if you had any plans!

Without caching, i can't use this library.

It would be amazing to have something like Apollo caching mechanism.

@f I need caching too . Is there any updates coming for this?

What kind of caching do you people need? Can you specify the need?

What kind of caching do you people need? Can you specify the need?

data cache... to avoid round trips