A Workers optimization that reduces your bill
Jan 14, 2022Kenton Varda, Erwin van der Koogh

Summary
Introduced an optimization to the Cloudflare Workers runtime that stops billing for 'in use' time once response headers are forwarded and no further application code executes. This change applies to HTTP proxies, WebSocket proxying, reading from cache, and streaming from KV, resulting in an average 70% reduction in billed 'in use' time for Workers Unbound customers. This optimization is invisible to application code and is applied automatically.