Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.


You're right. I just updated my entry to be more accurate in this sense.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: