API-Portal icon indicating copy to clipboard operation
API-Portal copied to clipboard

Configure code splitting to reduce loading time for output files

Open taspeotis opened this issue 4 years ago • 1 comments

Looking at the demo site it takes about 16 seconds to load.

image

I think theme.js could go on a diet, since a cursory glance shows it's not minified.

taspeotis avatar Apr 27 '21 09:04 taspeotis

Hi @taspeotis, the quick fix for it would be to switch webpack mode to "production" here.

The longer fix would be to switch to the code splitting approach, which is coming a bit later.

azaslonov avatar Apr 27 '21 23:04 azaslonov