-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cache JsonLD contexts #778
Conversation
This pull request is being automatically deployed with Vercel (learn more). website – ./website🔍 Inspect: https://vercel.com/semapps/website/DtpVyoAm72qUR7LbZQvbcTVkRMoK [Deployment for 97f75a2 canceled] archipel – ./src/frontend🔍 Inspect: https://vercel.com/semapps/archipel/3yHkiWmJH1nmneryxxQz5biAdy1B [Deployment for 97f75a2 canceled] |
…e_jsonld_contexts # Conflicts: # src/middleware/packages/jsonld/mixin.js
Closes #533
Closes #725
Crée un nouveau service
jsonld
qui permet d'ajouter des contextes locaux (sans avoir à configurer l'ApiGateway) et qui garde en cache les contextes qui ont été déjà chargés lors des opérations de compact/frame/expand. Ce qui évite notamment d'avoir à appeler le fichier /context.json 50 fois lors de certaines opérations.Breaking changes
Un nouveau service
jsonld
doit être configuré pour utiliser les servicesldp
,triplestore
,webacl
etinference
.Et il faut supprimer l'ajout de la route sur l'ApiGateway.
Voir https://github.com/assemblee-virtuelle/semapps/pull/778/files#diff-bbe4b0510fb8264e212e78b6818b28c00cabe3cd17e54172d072129aa00a814eR1-R16