Comet/sse/chunked transfer needs xhr to work. x-mixed-replace was würd back in the days and still is.
Edit: maybe you could also use an iframe/frame which holds a chunked connection but that will only give you text.
You can use a frame/iframes, but you can also just have content that is updated with multi-part MIME that doesn't cause the page layout to be redone.
with x-mixed-replace (as the name implies x-: experimentell) you can stream the page over and over again and the browser would change to the new version. (chrome still supports that for images, cheap webcams)
Tbf without frames neither mechanism made much sense, (even back than) because it would be horrible to use with form fields.
I started to play with the web in the early 2000s where xhr/long-polling/comet(via iframes, later it used xhr onreadystatechange with chuncked encoding, without sse, which basically was created because of that) started to gain traction and x-mixed-replace was extremely niche even back than because of the limitations it had on the page
Edit: comet (streaming script tags, inside an iframe) of course worked, back then. But I never heard of an implementation before 2006 (maybe a few years earlier like 2-3)or so, would’ve been worth a Wikipedia change if you would have old entries. Also http/1.1 was 97
Oh Server Push has all kinds of issues with it. There are lots of good reasons to prefer the newer protocols for a lot of use cases.
Frames were the common way to deal with that, but I even did stuff with having a separate "named" browser window.
> Also http/1.1 was 97
IIRC there was support for it in Netscape before it was really a standard.
That is probably true, since x-mixed-replace started the whole chunked transfer encoding.
It’s probably also what really triggered the invention of comet and later xhr. Netscape was way ahead and Microsoft just pushed it out with money, integration, activex? and of course unfair advantage.
Yes, all the benefits of http/2 (or 3) are great, but we should also be aware of what we can take advantage of in http 1.1, especially since it's effectively universally supported.