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
JS and CSS not properly compressed/uglified #8327
Comments
I've checked and my installation via *.jar file under Ubuntu environment is showing the same issue. |
Hi guys, could you please share a possible fix date for this problem? |
We had to implement Cache and compression for CSS and JavaScript files at NGINX proxy level, cuz the download of this files cause the Metabase slow initial loading |
@jornh I think there are two different problems:
|
Yep! I think you’re right. At least it seems fixing either of the two problems would both work towards improving performance in the same area 😄 That’s probably what confused me. Anyway, agree they are technically different - not dupes - just related... |
The JavaScript bundles are being gzipped by Metabase's server, even without a reverse proxy such as nginx: If you are seeing otherwise please give me more details about your deployment (Metabase version, Docker image vs JAR, hosting platform, browser, etc) I'll take a look at why minification isn't being applied. |
self hosting metabase using the docker image:
which is also tagged as
v0.30.0
The front-end assets are not compressed at all, all of them are in plain text together with all the comment.
For example the
vendor.bundle.js
alone is 7.18MB in size, 1.7MB after nginx's gzip. It's abnormally large for a web page asset.I think it's a packing issue during the build but I'm unfamiliar with front-end building/packing staff, hope it can be fixed soon.
Thanks.
The text was updated successfully, but these errors were encountered: