Luke
CDCloudflare Developers
•Created by Luke on 10/10/2024 in #general-help
What permissions are required to update a WAF rule via the API?
12 replies
CDCloudflare Developers
•Created by Luke on 7/29/2024 in #general-help
"Zone Hold" by third party vendor
1 replies
CDCloudflare Developers
•Created by Luke on 4/4/2024 in #workers-help
bypass workers with cookie
Is there any way to bypass workers using a cookie?
For example in the case that something catastrophic is wrong with a worker I'd like to set a cookie and just send traffic directly to the origin.
3 replies
CDCloudflare Developers
•Created by Luke on 2/8/2024 in #workers-help
Set the datacenter/colo for the cache API
Hi, is there a way to cache a page on a certain datacenter using the cache api? I see the following quote in the docs but curious if I can force it to a specific datacenter?
The Cache API is available globally but the contents of the cache do not replicate outside of the originating data center.
8 replies
CDCloudflare Developers
•Created by Luke on 12/27/2023 in #workers-help
Debugging O2O locally
I'm building a worker that uses O2O to Shopify and I'm curious how I can debug this locally.
I use
fetch(request)
which forwards the request on to the origin (Shopify) but locally it it won't know where the origin is. If I overwrite the url to fetch from Shopify it will hit my worker in production. How are others working around this w/ O2O?2 replies
CDCloudflare Developers
•Created by Luke on 2/22/2023 in #workers-help
`502`s from dev worker when adding headers
1 replies
CDCloudflare Developers
•Created by Luke on 2/22/2023 in #workers-help
`waituntil` not firing after HtmlRewriter
I'm doing a couple of log and analytics fetch requests triggered from an HTML rewriter. I'm wrapping the calls in
waitUntil
and everything works fine locally (and in a cloud hosted dev worker) but when I push to production the worker appears to terminate before my calls complete. Is there a different way that I should be approaching this?1 replies