Server-side rendering
In sitespeed.io we render the pages once and run them without a server, so it would be cool if we could prerender the pages that show the waterfall (meaning both functionalities to load the HAR using JS and render it in nodejs).
I think a first version could be to just generate the SVG and skip the javascript hooks, then we could start to test to include the viewer and then add the extra functionality later.
Perhaps we could use node-jsdom or so to be able to re-use a good bit of the code I've written so far.
Yes, seems that it maybe could work, would be cool to test.
I'd recommend to spend a bit more time on the FE-only version for now to harden it a bit more, so we don't need to worry about 2 versions. Though it it works without much changes it would be quite slick to have. Do you wanna give it a try?
yep I'll test it later this week!