217 requests - bundle javascript/css?

Hi there,

This might have come up before, but I couldn’t find anything so here I go :wink:

When I tried to check why my initial load takes for ever[1] I saw that NC loads 217 files[2] initially - 124 Javascript files and 39[3] CSS files (228.35 KB). I was wondering if it wouldn’t be possible to bundle them, at least partly?

[1] Several tests with browser cache disabled (HTTP/2 is enabled; URL: …/index.php/apps/files/?dir=/ ):

  • DOMContentLoaded: 1.30 min, load: 1.43 min
  • DOMContentLoaded: 1.16 min, load: 1.24 min
  • DOMContentLoaded: 1.51 min, load: 1.61 min

[2] 212 - duplicates removed
[3] 30 - duplicates removed

If HTTP2 is enabled, why is this an issue? You are probably not running HTTP2 (my guess)

Checked with my hoster and they confirmed that it is enabled, but not configured fully yet - i.e. ALPN is still to be installed.
https://screenshots.firefox.com/cExxZTkBGMd66lHy/http2.pro