-
Notifications
You must be signed in to change notification settings - Fork 3
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
feature_request: option to use named keys for caching #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider allowing user to supplement their own named keys when caching object... in order to facilitate more intuitive retrieval of cached objects. This involves making the following changes:
(1) Create property in ServerProtocol class to store the map between datakey and id:_
(2) Inside the Proxy class..._
When a user supply a datakey, this is sent along with the data to the server
(3) Correspondingly, the ServerProtocol class stores any supplied datakey to the property / mapper described in (1)
(4) In the Get method of the ServerProtocol class, allow the datakey to be used for retrieving cached object... (If the key is not an ID, the method will search for stored keys)
The text was updated successfully, but these errors were encountered: