Ben-xD
Ben-xD
Explore posts from servers
CDCloudflare Developers
Created by Advany on 12/18/2023 in #workers-discussions
will there ever be a new version of the
I wonder that as well. On https://cloudflareapps.com/apps/category/all, it says
Cloudflare Apps is no longer accepting new submissions. We're building a new Apps experience, if you're interested sign up here.
4 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Does anyone know why file hashes are
Lovely, it's working now, thanks
7 replies
CDCloudflare Developers
Created by Ben-xD on 12/18/2023 in #pages-help
Different requests get different files
Solved by bypassing cache for entire cloudflare pages. See thread above ^
2 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Does anyone know why file hashes are
Oh wow, lovely, thanks. I'll give that a go. Great idea to check the response headers, didn't think of that 🥹
7 replies
CDCloudflare Developers
Created by mr nooli on 12/14/2023 in #pages-help
NextJS is slower on CF than on Vercel
If you're using workers, I guess you're not using pages or https://github.com/cloudflare/next-on-pages?
9 replies
CDCloudflare Developers
Created by mr nooli on 12/14/2023 in #pages-help
NextJS is slower on CF than on Vercel
Do you mean the DNS proxy, @mr nooli ? Also, are you running on Cloudflare Pages or workers?
9 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
Nope I use tRPC running on Node (not on cloudflare workers). I only have a cloudflare pages frontend running on cloudflare pages I'll still take a look, thanks for the link
13 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Does anyone know why file hashes are
I noticed they were cycling back and forth through a limited selection, it wasn't just random Weirdly, this has stopped happening now 🤔. No changes from my side Might be related to deployment, where CF pages doesn't always serve the latest build
7 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Does anyone know why file hashes are
Oh weird, its happening way more frequently for firefox: It still happens on chrome, but much less frequently (left chrome, right firefox)
7 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
Yea, that's fixed it :), thanks for your replies
13 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
I think i've found a bug in turbo... This doesn't work:
"env": ["SENTRY_AUTH_TOKEN"],
"env": ["SENTRY_AUTH_TOKEN"],
I need to put it in
"globalEnv": ["SENTRY_AUTH_TOKEN"],
"globalEnv": ["SENTRY_AUTH_TOKEN"],
13 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
ahh it might be my use of turbo 🥹
13 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
Nope, that's undefined too. I ran:
console.error(`process.env.CF_PAGES_BRANCH: ${process.env.CF_PAGES_BRANCH}`);
console.error(`CF_PAGES_BRANCH: ${CF_PAGES_BRANCH}`);
console.error(`process.env.CF_PAGES_BRANCH: ${process.env.CF_PAGES_BRANCH}`);
console.error(`CF_PAGES_BRANCH: ${CF_PAGES_BRANCH}`);
Which gives me:
process.env.CF_PAGES_BRANCH: undefined
ReferenceError: CF_PAGES_BRANCH is not defined
process.env.CF_PAGES_BRANCH: undefined
ReferenceError: CF_PAGES_BRANCH is not defined
13 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
Oh, I guess it wouldn't work Im just trying to get my environment variables in the build process, which for me is node 21. So I'm still not sure why process.env.EXAMPLE is undefined
13 replies
CDCloudflare Developers
Created by Ben-xD on 12/17/2023 in #pages-discussions
Why would `process.env.EXAMPLE` be
Ohh,
process.env. doesn't exist in Cloudflare workers
I just need to use it directly, like EXAMPLE. Unconventional
13 replies
CDCloudflare Developers
Created by Ben-xD on 10/29/2023 in #workers-ai
I increased the detail:
I guess it's true, some swans die quite quickly :thinkies:
1 replies