mirror of
https://github.com/lexmount/moli.git
synced 2026-11-24 16:02:53 +00:00
Register native InstallEvent.addRoutes rules, persist them with each worker version, and select network, CacheStorage, or fetch-event handling before starting a worker. Preserve the worker version's storage authority and apply its opaque-response cache policy. Race response headers through the real network and fetch-event pipelines, reuse matching event requests without duplicate HTTP, and keep caller aborts, body ownership, waitUntil, redirects, and integrity validation independent. Carry router timing and null-body metadata through the native response paths.