multi-threaded nuxt generate
[issue link]Would it be possible to implement a multi-threaded generate command for nuxt, e.g. with webworker-threads? I know there are other possibilities for projects with a large number of (dynamic) pages (e.g. #418), but was wondering anyway whether we could speed-up the process by utilizing more than 1 thread.
I have a project with ~50k pages which currently takes 3+ hours to generate (about 4-5 pages per second). It seems this is at the moment cpu limited as nodejs only runs on one thread (and is the only process at 100% cpu).
As 3+ hours is too much time for me, I am now looking at putting nginx as a caching reverse proxy in front of nuxt, but I would prefer to generate static files which I could push to an object store with cdn. My goal for this would be to be able to generate all 50k pages in half an hour max.