hfcRed
CDCloudflare Developers
•Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
If your page is already live and being used this wouldnt be much of an option ofc
22 replies
CDCloudflare Developers
•Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
Its very tedious but it works
22 replies
CDCloudflare Developers
•Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
The workaround I currently use is to just delete the project from my account and then make a new one whenever I add a new env variable
22 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
120ms is still pretty quick if you ask me, if you really do rely on sub 100ms speed you should look into possible KV implementations of whatever youre trying to do
12 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
You will never achieve the same latency with DOs as you do with KV
12 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
DOs and KV always have the tradeoff of consistency vs latency
12 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
I personally have never measured it because DOs are expected to have more latency to them and I have never found it to be noticable
12 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
DOs are geographically pinned to where theyre created, so if two users from different parts of the world want to use the exact same DO instance they will have to travel to the one instance to use it, which will result in different and sometimes long latencies
12 replies
CDCloudflare Developers
•Created by Magnum🅱 on 10/1/2024 in #pages-help
Deployment failed! Got error: Your Worker exceeded the size limit of 1 MiB
You could run a local build to see the output and double check, there should be a
server
folder or similar in the output directory6 replies
CDCloudflare Developers
•Created by Magnum🅱 on 10/1/2024 in #pages-help
Deployment failed! Got error: Your Worker exceeded the size limit of 1 MiB
Im not sure how this works with frameworks, but I would assume that anything that runs on the server is packed into the worker
6 replies
CDCloudflare Developers
•Created by Magnum🅱 on 10/1/2024 in #pages-help
Deployment failed! Got error: Your Worker exceeded the size limit of 1 MiB
Because page functions get deployed to a worker
6 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
I think this is especially the case when first creating a new instance using an ID derived from a name
12 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
Depending on what you use the DO for, latency can also vary as it might have to do a global lookup first
12 replies
CDCloudflare Developers
•Created by anders on 10/2/2024 in #workers-help
Best way to count own SaaS API limits/usage
Ah yeah forgot about that
13 replies
CDCloudflare Developers
•Created by anders on 10/2/2024 in #workers-help
Best way to count own SaaS API limits/usage
Is it
13 replies
CDCloudflare Developers
•Created by anders on 10/2/2024 in #workers-help
Best way to count own SaaS API limits/usage
Oh wait
13 replies
CDCloudflare Developers
•Created by Suman! on 10/2/2024 in #workers-help
Latency on worker and Durable object
Not every datacenter is capable of holding them
12 replies