News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by onion2k on Wednesday August 07, 2019 @04:37PM (#20638735)
GitHub works without JS just fine. Switch it off.

In fact, I'm pretty sure Github is rendered server side for the first load. You shouldn't be seeing any spinners. I'd check if I wasn't on my phone.

Re:Why is modern web development so complicated? by mort96 on Wednesday August 07, 2019 @04:44PM (#20638821)
Nope, the content is loaded dynamically from their API after the rest of the page has loaded: https://i.imgur.com/Kxs9l7j.mp4

Sure, the list of my repositories is server rendered, but I already know my list of repositories. The thing I'm waiting for 99% of the time when loading github.com is to see if there's any new activity.

Sorry about the graphical glitches, blame nvidia or xorg or gnome or something.

Re:Why is modern web development so complicated? by onion2k on Wednesday August 07, 2019 @04:50PM (#20638890)
That's disappointing. You're absolutely right that that particular page should be SSR'd.
Re:Why is modern web development so complicated? by TurningCanadian on Wednesday August 07, 2019 @06:18PM (#20639774)
Likely because the list of repositories changes infrequently, so it's a better candidate for caching. They serve what then can quickly, quickly, then pull in the naturally slower stuff later.
Re:Why is modern web development so complicated? by Izkata on Thursday August 08, 2019 @11:45AM (#20645568)
Like 5-10 years ago, writing.com updated their content from loading static pages to be more dynamic.

What they actually did was continue loading the content statically, then hide it behind a 1 or 2 second loading spinner that wasn't actually loading anything.

Seems like users have just come to expect spinners...

(I don't know how the site currently works, haven't been there in a long time)

Re:Why is modern web development so complicated? by hdfbdtbcdg on Thursday August 08, 2019 @04:52AM (#20642856)
Github is annoying. Some pages are SSR some aren't. The js is quite resource hungry so I tend to keep js off for github until I get to a page that needs it.