-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
How to reduce the size of vendors.bundle.js(13M)/commons.bundle.js(9.5M)? #57406
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
Hi @charliye Those two specific bundles encloses the majority of the dependencies we use to run the product thats why they are so large. However we took some actions to try to minimize this in the last |
hi @mistic, Thanks a lot for your response. |
@charliye it won't be easy. The possibly alleviation of the problem needs to be split in two different things. 1 - split commons bundle in more than one (through webpack config) For the problem part 1 we did some progress here #54079 Both are merged in 7.6.0 so I really suggest you to try that version instead. Finally in 7.7.0 the problem should also be less impacting as we also merged this #53976 |
These assets will also be cached by your browser after they are loaded once. I understand this is still not ideal, but we're working to reduce the overall payload size. |
Hi @tylersmalley, cache-control: must-revalidate |
|
+1 |
Closing this, as we no longer ship a vendor's bundle. |
Hi all,
Could you help answer my question? I'm using kibana:v6.5.4 in my lab. Thanks in advance!
How to reduce the size of vendors.bundle.js(13M)/commons.bundle.js(9.5M)?
After I start kibana, I find some of the bundle.js files are too large.
some bundle.js files:
-rw-r--r-- 1 root root 13M Feb 12 10:50 vendors.bundle.js
-rw-r--r-- 1 root root 51K Feb 12 10:50 vendors.style.css
-rw-r--r-- 1 root root 933K Feb 12 10:50 apm.bundle.js
-rw-r--r-- 1 root root 519K Feb 12 10:50 monitoring.bundle.js
-rw-r--r-- 1 root root 1.3M Feb 12 10:50 canvas.bundle.js
-rw-r--r-- 1 root root 1.4M Feb 12 10:50 infra.bundle.js
-rw-r--r-- 1 root root 1.6M Feb 12 10:50 ml.bundle.js
-rw-r--r-- 1 root root 9.5M Feb 12 10:50 commons.bundle.js
-rw-r--r-- 1 root root 2.9M Feb 12 10:50 kibana.bundle.js
The text was updated successfully, but these errors were encountered: