Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

hmm what specifically should I go turn

hmm, what specifically should I go turn off?

Both Note though that this only works

Both. Note though that this only works for Workers, not Pages

Using Pages CI You can open open the

Using Pages CI? You can open open the deployment logs and see if there's anything interesting there

Is there any way to unlink a github

Is there any way to unlink a github integration on a pages project

Build failed internal error

We didn't change anything related to node packages, we don't handle anything regarding your build step. Anyway, do you have a python-version file? Usually that malformed is what causes issues there...

Build Image Beta Testing

Hey @Pages developers, many of you requested support for node 18+, and pages team is getting ready to get some users to test the updated build image. We want to see a diverse set of projects — not just Node.js — and the more complex the better, if you're interested, please send your project's pages.dev url in the thread

Using Svelte and vite with the right

Using Svelte and vite with the right configuration, anything you put in the ./public folder gets copied to the ./dist root when my Svelte code is built. I use that for a version.json file and static images. I'm guessing that there is something similar for any other framework. What framework are you using? I don't recommend doing that for .js or .ts that your Functions import though. Rather, import those in your Function source. When you do that, the Pages build process incorporates them in...

Race conditions more than anything else

Race conditions, more than anything else. With KV for a session store, you have to worry about cache times if you need to invalidate things, propagation delays, etc. For most use-cases, it's probably fine. But DOs would give you the durability that can be necessary for critical use-cases.

Nvm see it’s possible in the docs k so

Nvm see it’s possible in the docs, k so this is actually all already strait forward and we don’t need to create two pages. Guess I just needed to bounce it if someone 👍🏻

WASM support for Pages Functions

Hey @Pages developers, WASM support for Pages Functions beta is here! Share your pages.dev URL in the thread, and we'll enable it for you to test!

durable objects + pages

Nope. Still occassionally forget to republish before a CI run. Do you have an approach that you are happy with or are you in the same boat as me?

Fix trailing slash on pages

Hi, I am extremely looking forward to the changes in this direction: https://community.cloudflare.com/t/cloudflare-pages-get-rid-of-redundat-308-redirect/324582/29 Tags: pages 308 redirect trailing slash trailingSlash bypass...

```

``` functions |- profile |- index.js dist...

I see the flicker on both netlify and CF

I see the flicker on both netlify and CF. macOS Safari...

You can change it with a Cache Rule or

You can change it with a Cache Rule (or https://developers.cloudflare.com/pages/platform/headers/) - but Pages won't clear zone cache automatically on a deploy, so that's something to note but likely isn't a problem for static, supporting assets like fonts

I am using a sentry plugin as middleware

I am using a sentry plugin as middleware and a custom function that responds to form submissions. I'll try removing one or the other to see if it's specific to the middleware, for instance, or just having the directory at all.

Why would you not use service bindings

Why would you not use service bindings?