Sending Early Hints from Workers

Is there a way that I can conditionally send early hints (103) from my workers? I want to preload assets based on request headers and it looks like the Early Hints optimization in the Speed panel will cache the preload hints and serve them for all requests. Is that correct?
1 Reply
James
James3w ago
You can send preload headers and things and these might end up cached and sent as early hints, yes, but there’s no way to explicitly send 103 responses in Workers before your normal response.

Did you find this page helpful?