superset icon indicating copy to clipboard operation
superset copied to clipboard

explore.xxxx.entry.js too large

Open NZHEzreal opened this issue 8 years ago • 1 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [ ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [ ] I have reproduced the issue with at least the latest released version of superset
  • [ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.21

Expected results

Actual results

Steps to reproduce

I embeded three iframe into a page, I find the page loading time is too long. so I open the developtools of Chrome.There is a 'explore.xxx.entry.js' file, 2MB per file. I just konw it is Webpack generates.

image

I have used 'npm run prod' and content-Encoding:gzip in the production environment. How to make this file is less than 1MB?

NZHEzreal avatar Apr 21 '18 17:04 NZHEzreal

There's already discussion on how to fix this, please close.

xrmx avatar Apr 21 '18 18:04 xrmx