Zetax
Explore posts from serversCDCloudflare Developers
•Created by Zetax on 7/26/2024 in #general-help
Durable object websocket close not working
I am using waitUntil to actually test if I can actually close the websocket connecton, because if I do ws.close before returning the response, then it will just give me an http error because it did not return the upgrade response. And I am checking if ws === server to only send the message to the client connecting (At least that's what I think "server" represents, because when I do client.send, it doesnt do anything)
4 replies
CDCloudflare Developers
•Created by Zetax on 7/26/2024 in #general-help
Durable object websocket close not working
Also, for some reason my waitUntil code runs before the handler, which it isn't supposed to do, right?
4 replies
CDCloudflare Developers
•Created by Zetax on 7/22/2024 in #general-help
Cloudflare pages nextjs project can't run development server
Oh, my bad. I'll recreate the post over there
3 replies
CDCloudflare Developers
•Created by Zetax on 2/3/2024 in #general-help
Weirdly long response times
Another addition, I checked which datacenter is being used, and it's always EWR instead of Frankfurt, but if I use Cloudflare warp, then it uses FRA, which seems very odd to me. So, using Cloudflare Warp makes it choose the correct region, and decreases the TTFB from 120 to 30ms. Is this intentional?
3 replies
CDCloudflare Developers
•Created by Zetax on 2/3/2024 in #general-help
Weirdly long response times
Addition: A friend has an app on Cloudflare workers as well, but their response times are about 20-30ms on every request, In contrast to my application having about 100ms on every single request even though I am just sending a plain text response
3 replies
CDCloudflare Developers
•Created by Zetax on 11/6/2023 in #workers-help
NodeJS compat not working
Ah okay, thanks for the explanation :D
13 replies
CDCloudflare Developers
•Created by Zetax on 11/6/2023 in #workers-help
NodeJS compat not working
Thank you
13 replies
CDCloudflare Developers
•Created by Zetax on 11/6/2023 in #workers-help
NodeJS compat not working
Oh, I didnt know it was order sensitive
13 replies