3 ms·
> There's no reason for this content to use JavaScript at all. How else would you add live comments without JS? This page is effectively a big chatroom. You ca
by Raphmedia 9y ago
> There's no reason for this content to use JavaScript at all.
How else would you add live comments without JS? This page is effectively a big chatroom. You can write at the bottom of the page and the website fetches the new messages async.
Don't tell me you would have a big http refresh every 5 seconds to load in the new chat messages, that's even worst than using JS.
- Sir_Cmpwn 9y ago>How else would you add live comments without JS? This page is effectively a big chatroom. You can write at the bottom of the page and the website fetches the new messages async. Why on Earth does it need to be some kind of live chatroom? Just render them server-side and add live updates as a nice-to-have if JavaScript is enabled.
- Raphmedia 9y ago> Why on Earth does it need to be some kind of live chatroom? Well, the website is called jiffchat.com and is a collection of chatrooms. That being said, I turned off JavaScript and you are right. The page gets stuck on a lazyload placeholder. The initial content should be loaded and only the chat part be should added by JS.