3 ms·
The POST requests do refresh the page for the poster. But not for the viewers. For everyone else it just streams the HTML to them using chunked encoding. It's
by wybiral 9y ago
The POST requests do refresh the page for the poster. But not for the viewers. For everyone else it just streams the HTML to them using chunked encoding.
It's written in Golang and hosted on a free Heroku instance. I'll probably upload the code somewhere after a bit.
- thesandlord 9y agoOh wow, I couldn't really notice the page refreshing at all... Nice job.
- wybiral 9y agoThanks. There's a subtle trick where new comments (from streamed updates) have a CSS animation but comments from the page reload don't. It seems to make it feel more seamless.