SSR resource loading
Looking at the HTML generated by SSR, we have:
<head>
<link rel="shortcut icon" href="favicon.ico"/>
<link href="vendors-genesys.328a74870335bd915333.css" rel="stylesheet"/>
<link href="genesys.328a74870335bd915333.css" rel="stylesheet"/></head>
<body>
...
<!-- before end of body -->
<script src="121.328a74870335bd915333.js"></script>
<script src="vendors-genesys.328a74870335bd915333.js" async="async"></script>
<script src="genesys.328a74870335bd915333.js" async="async"></script></body>
</body>
Ideally, the scripts, CSS and maybe even fonts would be loaded with <link rel="preload" ...
. See https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/
In this ticket we improve resource loading in SSR (with some webpack plugin from https://github.com/jantimon/html-webpack-plugin. Maybe https://github.com/vuejs/preload-webpack-plugin ? ).