Motion JPEG is arguably better suited to the task as the browser knows not to cache the previous frames by rule. It&#x27;s actually designed for this exact purpose.<p>I made a little example project a few years back. The format is dead simple, keep the connection open, flush multiple JPEGS separated by a header. It&#x27;s used pretty often by cheap security cameras and is supported by most browsers. It just seems to be not widely known about.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;donatj&#x2F;mjpeg-php" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;donatj&#x2F;mjpeg-php</a>