Skip to content
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

Reduce javascript file sizes for faster initial page loading #8972

Open
tianleh opened this issue Nov 27, 2024 · 0 comments
Open

Reduce javascript file sizes for faster initial page loading #8972

tianleh opened this issue Nov 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tianleh
Copy link
Member

tianleh commented Nov 27, 2024

Is your feature request related to a problem? Please describe.

During OSD page loading, there are several JavaScript files of size multiple MBs.

using 2.11 as an example.

bundles/osd-ui-shared-deps/osd-ui-shared-deps.js 5.55MB
bundles/osd-ui-shared-deps/[email protected] 4.52MB
bundles/plugin/observabilityDashboards/observabilityDashboards.plugin.js 12.11MB

While these files will cached for subsequent requests, it may cause latency of initial page loading when network is slow.

Describe the solution you'd like

Reduce the size of the JavaScript files. Potentially refactor to smaller files for ease of parallel downloading.

Describe alternatives you've considered

Additional context

@tianleh tianleh added the enhancement New feature or request label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant