Skip to content
Commit Detail

Commit 2c4c53c

Author
Kenton Varda <kenton@cloudflare.com> 2025-06-17 14:23:43 -0500
Parents
dfa1e3e
Tree
64f5244
Add `workerLoader` binding to workerd config.

The binding is declared like: `(workerLoader = (id = "foo"))`

Similar to memory cache bindings, if the same ID is used in different bindings within the same workerd process, they will bind to the same loader, meaning they share the same LRU cache of workers.

(Well, at present there's no LRU, the isolates just stay alive forever, but...)

Files changed