accessing D1 via the CF API is slow because it has to route to a core location. Create an API with a

accessing D1 via the CF API is slow because it has to route to a core location. Create an API with a cloudflare worker and bind the database to the worker and it'll be significantly quicker.
Was this page helpful?