rocket icon indicating copy to clipboard operation
rocket copied to clipboard

[next] cloud rendering

Open jkanche opened this issue 4 years ago • 2 comments

any suggestions or best practices for using rocket or rollup with web workers ?

jkanche avatar Oct 04 '21 18:10 jkanche

how would you like to use web workers? can you share code of what you tried and what failed?

web workers per see should "just work"... if you need to bundle up dependencies then it might be a different story.

For some cases, you could use SSR (with or without a dedicated worker) to pre-calculate what you need.

So yeah really curious about your usecase 🤗

daKmoR avatar Mar 23 '22 14:03 daKmoR

I assume it's rendering on-demand pages in the cloud (serverless)

Could be via

  • https://workers.cloudflare.com/
  • https://www.netlify.com/products/functions/
  • ...

daKmoR avatar Mar 23 '22 14:03 daKmoR