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

Many js file being downloaded while loading dashbaord #111087

Closed
mynew-github-account opened this issue Sep 3, 2021 · 5 comments
Closed

Many js file being downloaded while loading dashbaord #111087

mynew-github-account opened this issue Sep 3, 2021 · 5 comments
Labels
Team:Operations Team label for Operations Team Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@mynew-github-account
Copy link

mynew-github-account commented Sep 3, 2021

[Please add a WCAG level label: WCAG A/AA/AAA]

I am trying to load kibana dashboard on my website with help of ifream but while loading its downloading many js files
Which on search found to be from x-pack

Its almost 100 js files for one dashboard
can someone suggest how to minify it to improve loadtime

Steps to reproduce

1.I have embedded dashboard in iframe
2.and then trying to load when user hit analytics page to load this dashboard

[Screenshot here]
jsfiles1
jsfiles

Actual Result

Expected Result

Meta Issue

**Kibana Version:**7.9.2

**OS:**window 10

Browser: any browser

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 3, 2021
@vadimkibana vadimkibana added the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Sep 3, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 3, 2021
@timroes timroes added Team:Operations Team label for Operations Team and removed Project:Accessibility labels Sep 3, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@tylersmalley
Copy link
Contributor

There is not currently a way to minimize the number of dependencies or assets, even in an embedded dashboard.

@jbudz
Copy link
Member

jbudz commented Sep 15, 2021

The performance impact of many files can be mitigated by #7104. Otherwise, I would verify that these files are cached properly.

I'm going to close this out in favor of #63848.

@jbudz jbudz closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Operations Team label for Operations Team Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

6 participants