SearchGet Started
Cloudflare Developers

workers-for-platforms

in Cloudflare Developers

Channels

general-helppages-helpworkers-and-pages-helpdurable-objectsworkers-and-pages-discussionspages-discussionswranglercoding-helpkv🦀rust-on-workersminiflarestreamgeneral-discussionsfunctionszaraz⚡instant-logsemail-routingr2pubsub-betaanalytics-engined1-databasequeuesworkers-for-platformsworkerd-runtime🤖turnstileradarlogs-enginecloudflare-goterraform-provider-cloudflareworkers-aibrowser-rendering-apilogs-and-analyticsnext-on-pagescloudflare-aibuild-caching-betahyperdrivevectorizeai-gatewaypython-workers-betavitest-integration-betaworkers-observabilityworkflowsvite-pluginpipelines-betacontainers-beta

Threads

Product

PricingDocsCommunities

Resources

AboutBlogChangelogContributors

Legal

TermsPrivacyCookiesEULA
TwitterGitHubDiscord

© 2026 Hedgehog Software, LLC. All rights reserved.

Wildcard subdomain for worker
antim8A
antim89/23/25, 8:30 AM
Hi, I’m trying to set up a single Worker that handles requests for *.customer.mydomain.com.

Each customer points their domain to [customerId].customer.mydomain.com via CNAME and CF for SaaS.

My Worker should pick up all requests under that wildcard and route accordingly.


What is the proper / intended way to solve this with Workers + CF for SaaS?
there's still no news.
ZuchZ
Zuch6/17/25, 7:58 AM
there's still no news.
wym by stable?
darkpoolD
darkpool5/24/25, 3:55 PM
wym by stable?
Account Recovery
aabbA
aabb5/20/25, 6:06 PM
可是我该如何做呢,我不会
Local development · Cloudflare for Platf...
spiderS
spider3/14/25, 10:13 PM
is there a local dev updated example (https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/get-started/developing-with-wrangler/ doesn't work (ts or js)?
Is there typescript support or should everything be js?
Cloudflare Docs
Local development · Cloudflare for Platforms docs
To test your Dispatch Worker, user Worker and Outbound Worker before deploying to production, you can use Wrangler for development and testing.
You could probably go the Stackblitz
Hello, I’m Allie!H
Hello, I’m Allie!1/16/25, 4:11 AM
You could probably go the Stackblitz route? Only thing there is you can’t run dev there
Is there an example of using RPC with
nclevengerN
nclevenger11/11/24, 12:30 PM
Is there an example of using RPC with dynamic dispatch?
Should be each unique script, files aren
WalshyW
Walshy9/30/24, 10:19 AM
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
Should I be able to get a user worker in
Original message was deleted
Remote-procedure call (RPC) | Cloudflare...
RichardR
Richard8/23/24, 2:58 PM
Has anyone run into an issue where they use RPC https://developers.cloudflare.com/workers/runtime-apis/rpc/ and everything works as expected, but the logs for the RPC worker report an outcome of ? Also reported here but with no answers https://community.cloudflare.com/t/outcome-canceled-with-status-of-200-is-this-dangerous/653874 (context - I am calling an RPC worker from a user worker).
Cloudflare Docs
Remote-procedure call (RPC) | Cloudflare Workers docs
The built-in, JavaScript-native RPC system built into Workers and Durable Objects.
Remote-procedure call (RPC) and queue methods
Original message was deleted
I'm confused a bit, is "cloudflare for
dsds10D
dsds108/7/24, 3:28 PM
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 , 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?)
when I try to upload a source map as
Original message was deleted
Yeah, working on just that at the moment
Original message was deleted
Hey,
yaniv.efraimY
yaniv.efraim8/5/24, 5:22 AM
Hey,
We're using the workers for platforms, and I want to monitor the number of (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
avogadroA
avogadro5/22/24, 1:09 PM
Gotcha, I guess I can do that. Would the object still be stripped when passing the through?
Hey! Anyone done anything to create a
Original message was deleted
Hi friends, new to workers for platforms
schmimeS
schmime4/5/24, 4:31 PM
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!
Browser Rendering API GA, rolling out Cl...
tanushree │ Workers PMT
tanushree │ Workers PM4/5/24, 2:26 PM
Big WFP announcement today 📣🚀 https://blog.cloudflare.com/browser-rendering-api-ga-rolling-out-cloudflare-snippets-swr-and-bringing-workers-for-platforms-to-our-paygo-plans

TLDR: WFP is coming down to our paid plan on April 16th!
The Cloudflare Blog
Browser Rendering API GA, rolling out Cloudflare Snippets, SWR, and...
Browser Rendering API is now available to all paid Workers customers with improved session management
TLDR: `new ReadableStream()` is working
ldpL
ldp2/24/24, 8:55 PM
TLDR: 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.

Error: To use the new ReadableStream() constructor, enable the streams_enable_constructors compatibility flag. Refer to the docs for more information: https://developers.cloudflare.com/workers/platform/compatibility-dates/#compatibility-flags
I was hoping it would be as simple as:

When attempting to add this to my WFP
wrangler.toml
wrangler.toml
, I get the following error:
The compatibility flag streams_enable_constructors became the default as of 2022-11-30 so does not need to be specified anymore. [code: 10021]
Current compatibility date (for both platform code, and customer workers):

I'm guessing maybe I need to set this in my customer code somehow?

Is there potentially some sort of binding I can set to enable this for my customers?

My other suspicion is that it may be a different error, but cloudflare potentially catches it and throws this generic error instead.
Next page
canceled
canceled
AAAA 100::
AAAA 100::
Workers for Platforms Scripts
Workers for Platforms Scripts
cf
cf
Request
Request
new ReadableStream()
new ReadableStream()
compatibility_flags = ['streams_enable_constructors']
compatibility_flags = ['streams_enable_constructors']
compatibility_date = "2024-02-21"
compatibility_date = "2024-02-21"