-
-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorter operation cache keys #400
Comments
@lookfirst moving discussion here. One option would be to use I guess apollo just caches by |
@micimize I think in Apollo it is actually
And then the same goes recursively down per I think this API is limiting Instead of reading and writing with a |
There is also @connection to consider. Some times, you don't want every variable cached as it would pollute the cache and make it totally ineffective. Imagine sorting a table of data on the server. You don't want to cache by sort key. Took me a bit to figure this out. |
closed in v4 by using normalize #648 |
Operation cache keys are very long (full document + variables)
We should consider making keys a hash or uuid. Not a
hashCode
though 😬The text was updated successfully, but these errors were encountered: