Though note that 10 minutes might be stretching the limits there. I wouldn’t say it won’t ever work, but I would be wary of expecting it to work every time
I have a parent worker that has service bindings with two child workers that change HTML responses using HTMLRewriter. I want changes that these 2 workers make all applied to the trigger url of parent worker. I cant seem to figure out how to combine responses. Any help would be appreciated.
I am planning to process File uploads with some more parameters using Form Data. Whats the latest status of using form data in workers? I have seen many posts from 2022ish time frame, nothing recent yet. Can someone pl point me to a sample that I can leverage as guidance on how to process form data with Workers/Page functions? I believe this is one of the last posts: https://community.cloudflare.com/t/accessing-a-formdata-object-in-a-cloudflare-workers-function/287517/3
Hi Team, I am building a backend service using itty-router cloudflare and deployed it over the worker. but it is giving cors error when calling from React application. your help will be highly appriciated.
vitestvitest doesn't seem to work with @cloudflare/itty-router-openapi@cloudflare/itty-router-openapi, there's a require()require() call in the .mjs.mjs for js-yamljs-yaml.
There are so many ways to read and write data: D1, R2, Analytics engine, KV, logpushd, more? If I wanted to read and write a counter on every request, what's the best way to do that? E.g. x = x+1. I'm considering using queues to stack the increments up and bulk process them, which would save a lot on write costs, but I still don't know where to read/write. Or if there's a better way.
I do need to read. In each request, I'm essentially checking if the value has reached a certain number. It doesn't need to be strictly consistent so I can wait for the bulk process and be off by a few.
So it is an increment, plus a read? What you could do is push to AE, then have a cron trigger that checks whether it went over, and pushes that state to KV
I don't believe I currently have access to DO on free tier. I imagine I'll inevitably require paid tier but right now I'm just building PoCs so the gated services kinda make that hard.
I meant more, because it is only one isolate, it can at best handle a few thousand rps(and that is without all of the SQLite machinery running every query)