Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Should be each unique script, files aren

Should be each unique script, files aren't something we even really track or update calls If you can give me your account ID I can take a look - you sure you aren't making a bunch of scripts? What does the dash show for your namespace? https://dash.cloudflare.com/?to=/:account/workers-for-platforms...

I'm confused a bit, is "cloudflare for

I'm confused a bit, is "cloudflare for saas" a feature of "workers for platforms"? I'm trying to setup (the third time 😅) custom hostnames so that customers can point their domain to my worker. But I can't get this to work. The fallback origin is a worker, I've setup the AAAA 100::, origin seems fine, hostname added, validation completed – but when I access the customer domain (that should be now pointing to my fallback origin (worker)), I always get a cf page with 522. So do I need an activate "Workers for Platforms" (meaning do I have to upgrade my page plan in order to enable it?)...

Hey,

Hey, We're using the workers for platforms, and I want to monitor the number of Workers for Platforms Scripts (I have this section in our bill). Can you please recommend the best practice for that? I'm playing with the Graphql api, but cannot really find the best match to count the number of scripts (we have our users creating many of workers, and I want to be able to monitor that) Thanks!...

Gotcha, I guess I can do that. Would the

Gotcha, I guess I can do that. Would the cf object still be stripped when passing the Request through?

Hi friends, new to workers for platforms

Hi friends, new to workers for platforms! What is the story on letting users manage secrets for their workers they upload? Like if my user wants to access their own database from their worker what is best practice for managing that? Thank you for the help!

TLDR: `new ReadableStream()` is working

TLDR: new ReadableStream() is working for me in normal workers, but not workers for platforms Hi guys! I'm implementing a feature using Prisma's Pulse product, which streams database change events to listening clients. I'm able to connect and listen to events perfectly on a traditional worker, but the same code on Workers for Platforms as a customer worker has issues when instantiating a ReadableStream....

Limits · Cloudflare for Platforms docs

What does the binding a DO look like as described here? https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/platform/limits/#bindings Do we have to make another worker that has the DO definition? Not sure how to bind a DO that is not within the local code since the workers.toml is referencing a class name as well...

For binding to DOs in the same script

For binding to DOs in the same script you dont provide script_name or environment. If you try that way does it work?