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?
Was this page helpful?