Comment by bythreads

3 months ago

Iframes lazy

Object content as lazy

Embed lazy

Image lazy

Link rel=import (not support that widely though)

Heck if you wanted to get REALLY cute you go use multipart-mixed-replace headers.

Or SSE

You could use some simple CSS tricks (like flex-direction: column-reverse) to make the end of the HTML render above the search results and just keep appending the AI generated text to the HTML without closing the connection.