hyperknot
Explore posts from serversCDCloudflare Developers
•Created by hyperknot on 10/30/2024 in #workers-help
How do I get the list of deployed workers like on the web UI?
With Wrangler, how do I get the list of deployed workers like on the web UI?
4 replies
Questions about migrating from MobX
Hi, SolidJS newbie here with 8 years of MobX React experience. Couple of Qs:
1. I'd like to use class-based stores whenever possible. Is there anything I need to be aware of when using them?
2. Is store performance adequate? For example, can I update a string value at 60 FPS like this?
3. setStore vs. setState: Here is setState,
https://docs.solidjs.com/concepts/stores#path-syntax-flexibility
but later on it starts recommending using setStore
https://docs.solidjs.com/concepts/stores#appending-new-values
4. Is appending to an array better than setState with .push()?
5. Is there any performance advantage to using produce? If I'm using my own setter function for each value, then I cannot use produce. Is there any disadvantage to this?
4 replies
CDCloudflare Developers
•Created by hyperknot on 6/20/2024 in #general-help
R2 down, some buckets are inaccessible
Some public buckets don't work, web UI is also broken for them. "We encountered an internal error. Please try again. (Code: 10001)"
Other buckets work.
3 replies
CDCloudflare Developers
•Created by hyperknot on 6/9/2024 in #workers-help
Specify host header in fetch request
I'm trying to health-check load balanced hosts, for which I need to fetch using IP address + Host header.
In curl it's super simple, like this:
However I cannot replicate the same in a Worker JS environment. For example this does not work (network connection lost):
How can I make either fetch work with Host headers, or use a lower level library for that?
13 replies