-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Issue type:
- ➕ Feature request
Description:
An experimental typeScopedContexts flag has been added to Components-Generator.js that allows config files to be written in the form of aclManager instead of WebAclAuthorizer:_aclManager, without having the chance of clashing with other classes.
At the time of writing, when this flag is enabled in the Solid community server, this results in a massive overhead.
This is caused by how the JSON-LD context parser library handles type-scoped contexts. Disabling context validation reduces overhead a bit, but it still takes 4 seconds (instead of 0,5 seconds without this feature).
One solution might be to both disable context validation and reuse the compiled context for each parsed JSON-LD file.
Other solutions might be better and possible.