Missing Chunks Cached as SPA Fallback HTML with immutable

After a deploy removed a content-hashed chunk, requests for it fell through to the SPA fallback index.html and were cached as immutable. This post covers a route that returns 404 no-store for missing assets and a recovery bootstrap that cannot reload-loop.

October 8, 2026 | 5 min

A Failed Durable Object Alarm Retries 6 Times, Then Stops

A Durable Object has one alarm, a failing alarm is retried up to six times, and then nothing wakes the object. This post builds lease expiry in about 35 lines and checks retry exhaustion and recovery on local workerd.

September 24, 2026 | 9 min

Durable Object Hibernation Keeps the WebSocket and Drops Every Class Field

Cloudflare’s docs say hibernation keeps WebSocket connections open and discards in-memory state. This post runs a small Durable Object under local workerd and watches exactly what that means: the socket stays OPEN, the constructor runs again on the next message, class fields reset, attachments survive only if you serialize them, and a pending timer or the standard WebSocket API quietly turns hibernation off. Production behaviour and billing are not tested.

September 22, 2026 | 13 min

Cancel the Stream, Not the Connection, When One HTTP/2 Request Times Out

A request deadline fired on a connection that carries many requests at once. Do you close the connection, or only the request? In a small Node lab, closing the HTTP/2 session failed two innocent requests, while cancelling only the stream let them finish on the same TCP connection. The same lab shows the one case where cancelling is not enough: a lost packet stalls every stream on a TCP connection, and a connection-level PING is the right way to tell.

September 8, 2026 | 19 min

Waiting for bufferedAmount Protects the Sender, Not a Slow Consumer

WebSocket send() never waits, and bufferedAmount only sees the part of the path that is in your own process. In a small lab, a sender that politely waited for bufferedAmount to drain still let a slow consumer queue nearly all 400 messages in its own memory, while a credit window of 8 kept the backlog at 8. This post goes through four common beliefs about send(), bufferedAmount, message size and backpressure, tests each one, and ends with a table for choosing between them.

September 6, 2026 | 14 min