Open kittsville opened 7 years ago
Given how slow the front-end is I think this takes priority over any other front-end issues.
Turns out modern browsers load the scripts async anyway and then just execute them synchronously. Main thing slowing down page loads is that:
Wr.t. solutions:
Currently several of the JavaScript assets make direct reference in top level code to dependencies in other files. For example Cytoscape requires jQuery already be loaded. This creates an annoying dependency chain that greatly slows page loads. The JS assets need wrapping in container functions so they can be loaded asynchronously then activated in order of dependency.