Once a DO is created, it does not move.
Once a DO is created, it does not move. I check where a DO is by fetching a
/cdn-cgi/trace, then seeing the colo field/cdn-cgi/tracehttps://durable-object/cdn-cgi/tracerequest.cf.colofetch call at allcolo in the DO, I can see my DO is in SJC (currently in France, 140ms is more than ok) cf.colo in the request on the worker though
https://durable-object/cdn-cgi/tracerequest.cf.colocolocf.colo"cf-connecting-ip": "xxx",
"cf-ipcountry": "FR",
"cf-ray": "xxx",
"cf-visitor": "{\"scheme\":\"https\"}",export default {
async fetch(req, env, ctx) {
console.log("My colo is", req.cf.colo);
// Do stuff
}
}app.post('/', async (c) => {
const colo = c.req.raw.cf?.colo
...
})