-
Notifications
You must be signed in to change notification settings - Fork 20
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
Allow configure expiration time #40
Comments
@DmitryTsepelev instead of expiration time, we need to be able to association the hash to a in a standard restful api we would have something like this in the controller
so i am thinking we need to have something similar for graphql, it could probably look like this
i think the challenge here is that how to associate the query to a last_modified date value |
Hi @qen! You can do exactly the same thing in That's why I use a different approach—framgent caching, check it out and let me know if it helps 🙂 |
hello @DmitryTsepelev thanks for that ill look into it, i am still new to the graphql i was actually looking into associating the cache key of the query, and the and what i am thinking is somewhat similar approach discussed here but instead it returns the timestamp and model gid value once i received the compiled query cache key and got the all of this however is with the assumption of using redis as the cache backend |
My point was that if, for instance you fetch user with orders ( |
yeah i understand that, at least for our use case, i find that acceptable my assumption is that, the client side will only make a get request only if it has the query cache key the way i see it is that, every time a post request is made, it will then keep the |
No description provided.
The text was updated successfully, but these errors were encountered: