News for hackers. Stuff that matters.
Re:Show a real-time user count without any client-side Javas... by jws on Sunday July 29, 2012 @12:19AM (#4307518)
M-JPEG is not the same thing as x-mixed-replace.

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.

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.
Re:Show a real-time user count without any client-side Javas... by dag11 on Sunday July 29, 2012 @12:36AM (#4307564)
You're right. I just updated my entry to be more accurate in this sense.