In this article
Early-data replay policy must reflect generation side effects at the actual TLS termination point.
A connection optimization sends a generation request before the TLS handshake has fully established its normal protection. The request can reach the application sooner, but early data has replay considerations that matter for operations creating model work. Treat enabling early data as an application-semantics decision, not merely a latency setting on the edge.
Identify the operation that could repeat
A generation POST can allocate resources, record usage and create output even when its prompt is deterministic. Those effects need consideration independently of whether the model returns the same text. List the admission and accounting steps performed before a response is visible. A request that reads a public catalog has different consequences from one that starts a paid or stateful generation. Shared HTTP transport configuration should preserve that distinction.
Locate TLS termination
Find the component that accepts early data and the point where it forwards a normal HTTP request upstream. The model application may not terminate TLS itself. Preserve the relevant early-data indication through trusted intermediaries according to the protocol rules, rather than assuming the backend can infer handshake state from timing. A gateway that strips the indication can prevent the application from applying its intended replay policy.
Interpret an early rejection
The Too Early response allows a server to decline processing a request with replay risk. A later attempt must follow the specified handling rather than being sent as the same early data again. Bound that attempt by the caller’s remaining deadline. Record the rejection as transport-policy evidence, not a model-capability failure. It does not indicate that the model rejected a parameter or that another provider should be selected.
Test admission and duplicate handling
Use an isolated endpoint with a synthetic operation and observable admission records. Check ordinary handshake traffic, accepted early traffic where supported and deliberate early rejection. Confirm that the fallback does not create two admitted generations. Where an application relies on deduplication, test its actual scope and persistence; a request identifier echoed into a log is not automatically a duplicate-prevention mechanism. Avoid constructing a replay experiment against a live billable service.
Set the boundary explicitly
Disable early processing for operations whose repeated effects are not acceptable unless the system supplies a reviewed application-level solution. Retain it only for the cases the deployment can justify and verify. TLS protects communication, while the early-data rules describe a specific limitation that application design must accommodate. Acceptance is a clear policy at the real termination point, a correct fallback path and evidence of bounded admission behavior. It does not imply a universal response-time improvement: handshake reuse, network distance and server scheduling all affect the measured result.
Primary references
Using Early Data in HTTP. Defines Early-Data handling and Too Early responses across gateways.
The Transport Layer Security Protocol. Explains TLS early-data replay limitations and handshake context.
HTTP Semantics. Defines method semantics needed to distinguish repeatable retrieval from generation effects.
Related reading: Retrying generation POSTs: idempotency must be explicit; Inference API telemetry without default prompt capture.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.