Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Youtube comments suggestion #132
Reddit comments have used JS since c7a46cd, and YouTube comments have used JS since they were added with 1eb7066. The reason why is because comments were the largest source of latency for loading the
It might be possible to try to reintegrate them back into the initial page load, but obviously it would reintroduce that issue. You also wouldn't be able to view replies to comments, or minimize YouTube or Reddit comments, since that functionality also uses JS.
I think it's unfortunate that JS is necessary, and obviously I would prefer that it wasn't (the way it was originally), but I hope I was able to explain why it currently works the way it does, sorry I couldn't be more help.
I see. Is the latency a problem for the user or the server? If it's on user side I think those with JS off wouldn't mind a few extra seconds. If you can somehow show comments back in the initial page load that would be amazing it was a great feature. I could also view replies to comments even when JS was off. Would noscript tags be able to do something here? Or some way to have comments in initial page load if JS off is detected and the way it is now if JS is detected on?