FetchEvent.sendEarlyHints()
The sendEarlyHints() method allows you to send a 103 Early Hints response back to the client which made the incoming request to your application.
Syntax
sendEarlyHints(headers)
Parameters
headers
Return value
Always returns undefined.
Examples
event.sendEarlyHints({ link: '</style.css>; rel=preload; as=style' });
event.sendEarlyHints([
['link', '</style.css>; rel=preload; as=style'],
['link', '</style2.css>; rel=preload; as=style']
]);