Hey! π This should work, but ideally you'd want to reuse the `Miniflare` instance across requests.
Hey!
This should work, but ideally you'd want to reuse the
Miniflare instance across requests. Do you know the possible values for req.params.name ahead of time? Could you cache mf values for each name in a Map<string, Miniflare>? You'll probably also want to copy the headers across from queryRes to res, and might consider streaming the body instead of buffering it. See the writeResponse function in Miniflare's own code for this: https://github.com/cloudflare/miniflare/blob/6984a7f7a35a5b91dea3bb62d657818ca3cb52a2/packages/miniflare/src/index.ts#L307-L354.
