
1/14/2022 · Kenton Varda, Erwin van der Koogh
What this post added
This post details an optimization to the Cloudflare Workers runtime that reduces billing for Unbound Workers. The change allows Workers to be marked as 'idle' as soon as response headers are returned when the response body is simply being streamed through without modification. This optimization also applies to WebSocket proxying, reading from the cache, and streaming from KV. The average 'in use' time for Workers has dropped by 70% as a result.