gikopoi2 icon indicating copy to clipboard operation
gikopoi2 copied to clipboard

make js and front-standing.svg bundle

Open iccanobif opened this issue 3 years ago • 0 comments

I notice that the fact that there are many .js files to be downloaded in the home page (there's 32 of them, at the moment) slows down the loading times of the home page considerably (it's around 1.3 seconds but could be much faster). It's interesting in particular that the browser seems to wait for all files that are included in index.html to be fully loaded before attempting to load the ones that are included as ES6 imports from main.js: image

Might be useful to experiment on making an API endpoint that returns all .js files concatenated as a single file. I don't know if that'd play well with ES6 imports, though...

A bundle of all front-standing.svg files would probably also speed things up a great deal

iccanobif avatar Nov 23 '21 07:11 iccanobif