3 ms·
Hard to say without knowing what specific problem you have had but we are improving all the time. Several improvements announced just this week, take a look at
by kentonv 3y ago
Hard to say without knowing what specific problem you have had but we are improving all the time. Several improvements announced just this week, take a look at the blog.
Among other things, we made Wrangler (Workers CLI tool) use the open source workerd by default for local development, so local dev should produce a much more precise simulation now (since it's literally running the same code).
- pier25 3y agoAnd what about the DX of using Workers with Pages? I tried to use that recently and it was a disaster. I wrote about my experience here: https://twitter.com/pierbover/status/1641474067013271552 https://twitter.com/pierbover/status/1641474067013271552 I then opened these two issues: https://github.com/cloudflare/workers-sdk/issues/2962 https://github.com/cloudflare/workers-sdk/issues/2962 https://github.com/cloudflare/workers-sdk/issues/2964 https://github.com/cloudflare/workers-sdk/issues/2964 I ended up moving the project over to Netlify + Edge functions. I had it all working in like 5-10 mins as it should. Took me two hours to figure out why Workers weren't working in my Pages project, and could never get Workers working properly with my Astro project. I think you're working exclusively on the engine of Workers which is really top notch, but Cloudflare really needs to improve the outer layer which affects DX considerably.
- kentonv 3y agoSorry you experienced that. FWIW this announcement from Wednesday should help address the problems you ran into: https://blog.cloudflare.com/pages-and-workers-are-converging-into-one-experience/ https://blog.cloudflare.com/pages-and-workers-are-converging...