rocket
rocket copied to clipboard
[next] cloud rendering
any suggestions or best practices for using rocket or rollup with web workers ?
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 🤗
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/
- ...