You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Issue type:
Description:
An experimental
typeScopedContexts
flag has been added to Components-Generator.js that allows config files to be written in the form ofaclManager
instead ofWebAclAuthorizer:_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.
The text was updated successfully, but these errors were encountered: