Re:Show a real-time user count without any client-side Javas...
by zimbatm on Sunday July 29, 2012 @12:50AM
(#4307587)
Actually you could use x-mixed-replace with other content-types like text/html. I don't know if it still works with modern browser but you should be able to put the counter in an iframe.
M-JPEG is a concatenated stream of JPEG images, usually with some of the JPEG elements omitted.
x-mixed-replace is what he is using. It is from the early Netscape days and let you server side push new content. In this case JPEG images.
Either technique can be used to stream images depending on browser capabilities.