Cloudflare's API has significant latency overhead for querying D1. Querying inside a Worker does not have this extra latency.
This package should provide a ready-to-deploy Worker (similar to this) which re-implements the HTTP API's query endpoint. We can then point this package to the Worker to get better performance.
Cloudflare's API has significant latency overhead for querying D1. Querying inside a Worker does not have this extra latency.
This package should provide a ready-to-deploy Worker (similar to this) which re-implements the HTTP API's query endpoint. We can then point this package to the Worker to get better performance.
This should be an optional feature.