Chaika
CDCloudflare Developers
•Created by ruan on 4/30/2025 in #general-help
Whats the difference between URI's?
Docs on available fields: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/
6 replies
CDCloudflare Developers
•Created by ruan on 4/30/2025 in #general-help
Whats the difference between URI's?
Even if you don't put a slash, your browser adds one to every request, there's no such thing as a request with an empty path
6 replies
CDCloudflare Developers
•Created by sn00py1310 on 4/30/2025 in #workers-help
Requests to none Cloudflare sites with path /cdn-cgi/ fail
the cdn-cgi path is documented above
if you mean the limitation of not being able to fetch specific paths, not sure if it is, it's simply a quirk of fetch implementation that basically outgoing fetch requests are treated as if myip.wtf is a cloudflare website/is proxied
8 replies
CDCloudflare Developers
•Created by sn00py1310 on 4/30/2025 in #workers-help
Requests to none Cloudflare sites with path /cdn-cgi/ fail
Workers subrequests even to non-cf sites go out through the normal cdn layer
8 replies
CDCloudflare Developers
•Created by sn00py1310 on 4/30/2025 in #workers-help
Requests to none Cloudflare sites with path /cdn-cgi/ fail
it's the main way custom assets hosted on CF for features like rocket loader/etc are loaded on your site (if not injected directly) and also used by a ton of features
8 replies
CDCloudflare Developers
•Created by sn00py1310 on 4/30/2025 in #workers-help
Requests to none Cloudflare sites with path /cdn-cgi/ fail
Cloudflare uses them for a ton of products and features
https://developers.cloudflare.com/fundamentals/reference/cdn-cgi-endpoint/
8 replies
CDCloudflare Developers
•Created by Ruxorly on 4/30/2025 in #general-help
Developing snippets without Pro
Snippets are close in a bunch of ways to Workers running on routes (can have origins behind, etc), could perhaps test some stuff with that setup
2 replies
CDCloudflare Developers
•Created by 🅘🅛🅙🅐🅝🅨🅐 •°*”˜/> on 4/30/2025 in #general-help
Unable to login, GET request to dash.[...] gives status 400, are you blocking passmail.net ?
That's def why you can't login. hmm, Did/can you try different browser/without vpn if you are on one/etc?
9 replies
CDCloudflare Developers
•Created by 🅘🅛🅙🅐🅝🅨🅐 •°*”˜/> on 4/30/2025 in #general-help
Unable to login, GET request to dash.[...] gives status 400, are you blocking passmail.net ?
Some other call is being slow, or the challenge is failing, perhaps?
9 replies
CDCloudflare Developers
•Created by 🅘🅛🅙🅐🅝🅨🅐 •°*”˜/> on 4/30/2025 in #general-help
Unable to login, GET request to dash.[...] gives status 400, are you blocking passmail.net ?
It is normal for that call to respond with 400 and a body of
{"success":false,"errors":[{"code":404,"message":"SSO Connector not found"}],"messages":[],"result":null}
as sso being setup on your domain would mean you'd have to login through Google/some identity provider, and not username/pass9 replies
CDCloudflare Developers
•Created by McGuireR on 4/29/2025 in #general-help
Problem with cache API in worker.
In my company's official DNS, which is NOT Cloudflare, I have a CNAME record for mcguirer.com that references mcguirer.com.cdn.cloudflare.net. Then in my CF DNS, I have an A record for mcguirer.com with an IP addr of the site that serves the pages that aren't served by the NextJS pages app. So all requests for mcguirer.com go to Cloudflare. The request for URLs that are serviced by the pages app are routed to the worker.You're describing a partial cname dns setup. You have an A record for that origin. You have a worker route on that, handling traffic for specific urls/etc and then fetching through to Cloudflare Pages. You can't cache the result of the worker itself, only within the worker. You could add logging for cache.match, or you return the result of cache.match directly or use fetch caching, look at the response headers and the cf-cache-status for cache info. If it's missing, cache wasn't attempted (or is using cache.match, you didn't match)
6 replies
CDCloudflare Developers
•Created by McGuireR on 4/29/2025 in #general-help
Problem with cache API in worker.
mcguirer.com doesn't look like a real website, not sure if I understand the rest of your setup though
mcguirer.com is supposed to be a pages custom domain which fetches a worker (or calls, via service bindings?), which fetches something else?
You could add logging on the .match and see if there's any matches at all
6 replies
CDCloudflare Developers
•Created by McGuireR on 4/29/2025 in #general-help
Problem with cache API in worker.
Discord provides no easy way to do so, not too big of a deal tho
6 replies