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

[Optimization] Lazy load OSD library #897

Open
tihuan opened this issue Apr 25, 2024 · 0 comments
Open

[Optimization] Lazy load OSD library #897

tihuan opened this issue Apr 25, 2024 · 0 comments
Labels
frontend front-end issue P2 Priority 2 - Improvement with narrower impact, fix within a month performance Performance testing/tuning, load testing, etc.

Comments

@tihuan
Copy link
Contributor

tihuan commented Apr 25, 2024

Context:

  1. Lazy load OSD library only if the dataset is in spatial mode, so we limit unused JS in the app. Likely using JS dynamic import and/or React.lazy

DoD:

  1. Only load OSD library when the user is in spatial mode. For example, when loading a non spatial dataset, OSD library shouldn't be needed at all
@tihuan tihuan added frontend front-end issue P2 Priority 2 - Improvement with narrower impact, fix within a month performance Performance testing/tuning, load testing, etc. labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend front-end issue P2 Priority 2 - Improvement with narrower impact, fix within a month performance Performance testing/tuning, load testing, etc.
Projects
None yet
Development

No branches or pull requests

1 participant