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
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
What is the area that this feature belongs to?
Performance, Plugins
Is your feature request related to a problem? Please describe.
Currently, the mermaid and datatables plugins are not activated by default. The arguments are that the performance overhead brought in is not negligible:
For the mermaid plugin (Add Mermaid Plugin #2475), the external javascript loaded from CDN comes in at 3.3MB and is kind of heavy. It may result in some network costs.
For the dataTable plugin (Add dataTable plugin #2446), the javascript involved is much lighter. The performance overhead, however, is not thoroughly investigated.
However, such a configuration is contradictory to our wishes that 'everything works out of the box'. This issue is the umbrella issue to call for investigation on the performance overhead of the plugins and efforts to make the plugins default.
Describe the solution you'd like
It is suggested by Prof. Damith that we can load the javascript libraries on demand. This is possible with modifications to the backend (site build) code.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
What is the area that this feature belongs to?
Performance, Plugins
Is your feature request related to a problem? Please describe.
Currently, the
mermaid
anddatatables
plugins are not activated by default. The arguments are that the performance overhead brought in is not negligible:However, such a configuration is contradictory to our wishes that 'everything works out of the box'. This issue is the umbrella issue to call for investigation on the performance overhead of the plugins and efforts to make the plugins default.
Describe the solution you'd like
It is suggested by Prof. Damith that we can load the javascript libraries on demand. This is possible with modifications to the backend (site build) code.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: