Does encore.ts work in cloudflare workers? #1533
Replies: 2 comments
-
Anyone? :) |
Beta Was this translation helpful? Give feedback.
-
You can’t currently deploy Encore onto Cloudflare Workers as Encore is designed more for use cases where you want to interact with actual infrastructure, like SQL databases, caching, pub/sub, etc. And in this case, running your compute closer to the database inside an actual cloud provider region is generally much more performant. However, Encore + Cloudflare still work great together, by having Cloudflare running in front to give you the Auto-CDN capabilities. |
Beta Was this translation helpful? Give feedback.
-
The benchmarking blog post compares it against express and Hono (which is specifically designed for edge function environments). Wondering if the Rust/native module aspect of encore.ts allows it to deploy on edge function platforms like Workers, Lambda@Edge etc.
Beta Was this translation helpful? Give feedback.
All reactions