-
Notifications
You must be signed in to change notification settings - Fork 13
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
New data model - JSON-LD Schema #93
Comments
ping @OR13 |
I love this idea, we have a similar issue with all types returned by a documentLoader. This will take some thought to sort out, but I will try and add my thoughts on how we have been doing this with our documentLoaders. |
We have a documentLoader pattern we use that looks like this:
This proposal would essentially be to allow different wallet instances to produce different cache enabled document loaders. |
We have similar document loader cache in aries. I agree with the plan of having different cache enabled document loader for different wallet instances. Wallet should be able to import the added context directly into cached document loader. I will push a PR shortly. |
A proposal to introduce new data model for caching JSON-LD context documents locally in wallet.
If a wallet is aware of list of JSON LD contexts it is going to encounter more often, then those context documents can be added/cached locally. This will help wallet in many ways like offline access to contexts, resolving performance bottleneck of loading context each time from network etc.
The text was updated successfully, but these errors were encountered: