assemblee-virtuelle / assemblee-virtuelle/semapps

Data provider: add contexts cache to JSON-LD library

Open
#1,278 0 comments 1 reaction 0 assignees View on GitHub
data-provider
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

Use the "document loader" of the jsonld.js library on the frontend (like we already do on the backend) to avoid fetching the context on every compact/frame operation.

https://github.com/digitalbazaar/jsonld.js?tab=readme-ov-file#custom-document-loader

Contributor guide

No contributing guide indexed for this repository

Research direction

Find the existing backend document-loader implementation and the frontend data-provider entry point. Read the jsonld.js custom document loader documentation, then trace compact and frame operations to confirm where context requests occur. Done means the frontend reuses cached contexts instead of fetching them on every operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.