d1 is a solid move if you're already deploying on cloudflare workers, since the latency between the edge and your database will be minimal. switching from sqlite to d1 shouldn't break your logic, but you'll need to swap out your
better-sqlite3
driver for something compatible with the cloudflare bindings. just watch out for the
size limits on d1 if you start storing large amounts of user metadata or logs. if you're pulling heavy assets from webflow, make sure your edge functions aren't hitting timeout limits during the fetch calls. have you checked if your current auth0 implementation relies on any local filesystem access for session persistence? that's usually the first thing that breaks when moving to a distributed environment like d1 ✅