Dj
Dj
CDCloudflare Developers
Created by Dj on 1/2/2025 in #pages-help
Cache Errors rendering site unavailable
Occasionally, with no intervention - our apps will cache incorrectly causing the app to be unavailable on Pages. We mostly see this as pages that should be returning javascript return the homepage instead. To get around it, we usually run a "Retry deployment" which to my understanding invalidates the existing cache on the affected pages. I am certain this is not a oneoff, this has happened twice to the primary subject of this report but also my personal website which does not use Next.js. We are playlessgames.pages.dev My account ID is eedfd4b5dcbc4abc94e0eda2d3e14b92 Details, including a live reproduction from my personal website is in the thread.
9 replies
CDCloudflare Developers
Created by Dj on 12/19/2024 in #workers-help
Workers Preview Builds
Howdy, Is it possible for Workers to have preview branches like Pages? The compatibility matrix says it's doable, and I'm aware of wrangler versions upload - but I'm most interested in previews being automatically made for branches like we can with pages now. It would be really helpful in allowing migration off next-on-pages to opennext. Thanks!
3 replies
CDCloudflare Developers
Created by Dj on 8/14/2024 in #general-help
Auto Minify Still Exists
No description
2 replies
CDCloudflare Developers
Created by Dj on 7/12/2024 in #pages-help
Next on Pages failing due to R2
Howdy, My next on pages app is not building due to a bucket not found error - however this app doesn't have any bindings both in the dashboard and in wrangler.toml (it's a pages app it doesn't have a wrangler.toml). Was hoping I could get a little insight on how to fix this or if I should contact support. The exact error is: Error: Failed to publish your Function. Got error: Your R2 bucket does not exist (workers.api.error.bucket_not_found)
13 replies
CDCloudflare Developers
Created by Dj on 10/5/2023 in #pages-help
Unable to use pages project
No description
27 replies
CDCloudflare Developers
Created by Dj on 8/2/2023 in #pages-help
Wranglers Pages Dev is basically unusable
In locally testing a Next on Pages project, the documentation asks that you npx @cloudflare/next-on-pages --watch and in another terminal use wrangler pages dev .vercel/output/static --compatibility-flag=nodejs_compat. However, with this setup whenever you modify your Next project it triggers a rebuild, deleting _worker.js. Then, this file being deleted upsets wrangler and it exits. However, wrangler doesn't calmly exit - it leaves behind a process holding it's bind to :8788 meaning it cannot be restarted without running lsof -i 8778 and then killing the hanging process. Every. single. file change. I'm not sure how to use any other Cloudflare feature with Next on Pages because the thing giving me process bindings cannot be used without extreme babysitting. What, if anything, can I do locally to fix this or where do I report on GitHub?
7 replies