Skip to content
Commit Detail

Commit 73d4f5f

Author
James M Snell <jsnell@cloudflare.com> 2025-10-24 05:30:19 -0700
Parents
3731fb5
Tree
501a7be
Use a shared Fetcher instance for ServiceWorkerGlobalScope requests

We were creating a new Fetcher instance for every request
despite the fact that the Fetcher itself was stateless and
not storing any request-specific data. This changes it so
that all requests to a given ServiceWorkerGlobalScope instance
share a single default Fetcher instance.

Files changed

2 files changed~2 modified