3 ms·
You don't need JS to do long-polling, just keep the main page's connection open without writing the trailing `</html>` This does limit what you can do with the
by o11c 1y ago
You don't need JS to do long-polling, just keep the main page's connection open without writing the trailing `</html>`
This does limit what you can do with the poll-added content, but simply allowing the refresh to take place is a strict improvement over refreshing eagerly.